View previous topic :: View next topic |
Author |
Message |
sud0x n00b
Joined: 20 Feb 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 5:49 am Post subject: Grub messed up. I want lilo. How to fix? |
|
|
I'm currently installing Gentoo on my dell inspiron 1100 and everything has been going smooth until the first reboot after configuring the bootloader. I had selected GRUB and thought I had setup everything correctly. But it isnt working and i'm getting a
grub>
prompt when my computer boots. I have a friend that installed gentoo and said he couldnt get grub working either but switched to lilo and everything worked. I do not have a boot disk since I dont have a floppy drive (i can get one but its external USB... i'm on a laptop)
How can I boot my computer and fix this? I want to emerge --usepkg lilo and then configure it. |
|
Back to top |
|
|
CheshireCat Guru
Joined: 25 Aug 2002 Posts: 572
|
Posted: Fri Feb 20, 2004 5:52 am Post subject: |
|
|
Do you have a cd-rom drive? You should be able to boot the livecd, chroot into your gentoo install (just as you did during installation), and emerge lilo. |
|
Back to top |
|
|
sud0x n00b
Joined: 20 Feb 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 5:55 am Post subject: |
|
|
thanks for the fast response
i do remember doing that but I cant find it in the 100's of pages of paper I printed from the handbook. Do you remember how to do that? |
|
Back to top |
|
|
CheshireCat Guru
Joined: 25 Aug 2002 Posts: 572
|
Posted: Fri Feb 20, 2004 5:58 am Post subject: |
|
|
Pretty easy. All you should need is:
Code: | mount /dev/mydisk /mnt/gentoo
chroot /mnt/gentoo/bin/sh
. /etc/profile |
I don't remember if the livecd image already has /mnt/gentoo on it, so you may need to mkdir the mount point before mounting. Also, if you have more than one partition (for /var, /home, etc), you'll need to mount those as well before the chroot command. |
|
Back to top |
|
|
sud0x n00b
Joined: 20 Feb 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 6:01 am Post subject: |
|
|
Incredible! Thanks for the FAST help! I really needed it because i want to get gentoo running tonight. It has been a multiple night process.
I really appreciate it. |
|
Back to top |
|
|
sud0x n00b
Joined: 20 Feb 2004 Posts: 18
|
Posted: Fri Feb 20, 2004 6:20 am Post subject: Boots great! new problem... |
|
|
I'm getting an error during booting that says:
Kernel panic: VFS: Unabled to mount root fs on hdc4
here is my partitons (if this really matters)
hdc1-NTFS(Win XP)
hdc2-/boot
hdc3-swap
hdc4-/
what has happened? |
|
Back to top |
|
|
CheshireCat Guru
Joined: 25 Aug 2002 Posts: 572
|
Posted: Fri Feb 20, 2004 6:39 am Post subject: |
|
|
The most likely cause for this is missing drivers in your kernel. Boot the livecd again, and make sure your kernel has support for IDE (I'm assuming your laptop doesn't use SCSI here), and for the filesystem you used for the root partition. Both must be built in, you can not use modules for these, because modules can not be loaded until after the root filesystem is mounted. |
|
Back to top |
|
|
|