Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Change / partition
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
andreabergia
n00b
n00b


Joined: 23 Jul 2003
Posts: 9

PostPosted: Sat Oct 16, 2004 10:12 am    Post subject: Change / partition Reply with quote

Hi everyone.
Yesterday I installed a new hd on my PC, and I moved my old disk (where Gentoo resides) from Master to Slave (that is, from /dev/hda2 to /dev/hdb2). Then I edited /boot/grub/grub.conf and /etc/fstab, updating references to the old partition. But, when I restarted the system (I booted from an old Slackware setup disk, and then I chrooted onto my Gentoo partition), the kernel told me that it wasn't able to find the root partition, and asked me for its device file. I inserted /dev/hdb2 and all went fine. I thought: maybe it's initrd's fault, let's run genkernel again. So I did. But it didn't helped, after a restart the system won't boot until I insert the root device by hand. So I'm asking you: why do this happens? What should I do to fix it? Thank you!
_________________
Andrea Bergia - student Linux Registered User #281550
Back to top
View user's profile Send private message
quirkie0
n00b
n00b


Joined: 10 Oct 2004
Posts: 16
Location: Bruxelles (Belgium)

PostPosted: Sat Oct 16, 2004 10:59 am    Post subject: Reply with quote

Maybe I'm going to say something stupid, but if you want to boot from your hard disk, the information for booting must be located into the MBR of your master hard disk, no ?
Back to top
View user's profile Send private message
andreabergia
n00b
n00b


Joined: 23 Jul 2003
Posts: 9

PostPosted: Sat Oct 16, 2004 12:19 pm    Post subject: Reply with quote

quirkie0 wrote:
Maybe I'm going to say something stupid, but if you want to boot from your hard disk, the information for booting must be located into the MBR of your master hard disk, no ?


I've already re-installed grub in the MBR.
_________________
Andrea Bergia - student Linux Registered User #281550
Back to top
View user's profile Send private message
andreabergia
n00b
n00b


Joined: 23 Jul 2003
Posts: 9

PostPosted: Sun Oct 17, 2004 9:43 am    Post subject: Solved! Reply with quote

I've solved the problem! I forgot to update the real_root line in grub. Now it works well.
_________________
Andrea Bergia - student Linux Registered User #281550
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