Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Grub messed up. I want lilo. How to fix?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sud0x
n00b
n00b


Joined: 20 Feb 2004
Posts: 18

PostPosted: Fri Feb 20, 2004 5:49 am    Post subject: Grub messed up. I want lilo. How to fix? Reply with quote

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
View user's profile Send private message
CheshireCat
Guru
Guru


Joined: 25 Aug 2002
Posts: 572

PostPosted: Fri Feb 20, 2004 5:52 am    Post subject: Reply with quote

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
View user's profile Send private message
sud0x
n00b
n00b


Joined: 20 Feb 2004
Posts: 18

PostPosted: Fri Feb 20, 2004 5:55 am    Post subject: Reply with quote

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
View user's profile Send private message
CheshireCat
Guru
Guru


Joined: 25 Aug 2002
Posts: 572

PostPosted: Fri Feb 20, 2004 5:58 am    Post subject: Reply with quote

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
View user's profile Send private message
sud0x
n00b
n00b


Joined: 20 Feb 2004
Posts: 18

PostPosted: Fri Feb 20, 2004 6:01 am    Post subject: Reply with quote

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
View user's profile Send private message
sud0x
n00b
n00b


Joined: 20 Feb 2004
Posts: 18

PostPosted: Fri Feb 20, 2004 6:20 am    Post subject: Boots great! new problem... Reply with quote

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
View user's profile Send private message
CheshireCat
Guru
Guru


Joined: 25 Aug 2002
Posts: 572

PostPosted: Fri Feb 20, 2004 6:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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