Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reiserfs, console and hard drive upgrade problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dgrant
Apprentice
Apprentice


Joined: 28 May 2003
Posts: 158
Location: Vancouver, BC, Canada

PostPosted: Tue Nov 09, 2004 8:19 am    Post subject: reiserfs, console and hard drive upgrade problem Reply with quote

I'm getting some strange problems when moving my gentoo linux to a new hard drive.

I mounted my new hard drive with a reiserfs partition at /mnt/sata, then I do:

Code:
cp -ax / /mnt/sata


I added a new grub entry called "new hard drive" with everything changed from (hd0,7) to (hd1,0) and changed the kernel location to be on the new drive and the new root= argument to be the new drive. That works fine. I also changed the fstab on the new drive accordingly.

When I boot the first time, it seems to seems to like the new drive, but then it goes,

"Unable to open an initial console" and doesn't really procede much futher, then the computer then boots automatically soon after.

I think this might have something to do with udev not creating /dev/console or something like that.

If I boot up linux again to the new hard drive, grub doesn't even like the new hard drive and it can't do anything. It complains about the drive being a type 83, and the drive file system type not being correct or something. It's basically just totally confused because the new drive is screwed.

When I get in to my old Linux, I try debugging the old drive. Trying to mount it gives this:

Code:
mount: not a directory.


Even reiserfsck can't do anything with it:

Code:
reiserfs_open: the reiserfs superblock cannot be found on /dev/hde.
Failed to open the filesystem.


The funny thing is, I have repeated this entire procedure above two times and the same thing happened both times.
Back to top
View user's profile Send private message
dain-bramage
n00b
n00b


Joined: 11 Jul 2003
Posts: 25

PostPosted: Fri Dec 24, 2004 5:50 pm    Post subject: Reply with quote

Having the same problem here. I have used the dd command and also cp. Also tried 2 different hard drives. Will try making the 2nd drive ext3 in the new year and see if it works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum