View previous topic :: View next topic |
Author |
Message |
Treovo Tux's lil' helper
Joined: 30 Mar 2004 Posts: 88
|
Posted: Wed Apr 07, 2004 9:50 pm Post subject: Lost my Gentoo install |
|
|
After nearly a wek of daily work javascript:emoticon('')I finally got to the last chapter of the Gentoo installation handbook (BTW one of the best I've ever seen - well done guys).
But when I tried to reboot nothing happened.
I had to install Gentoo by chrooting in my current SuSE system and I suppose that this plus my weird partitioning lead to the disaster...
Partitions:
/dev/sda1 / ext3 defaults 1 1
/dev/sda2 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrecorder /media/cdrecorder auto ro,noauto,user,exec 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/dvd /media/dvd auto ro,noauto,user,exec 0 0
/dev/dvdram /media/dvdram auto ro,noauto,user,exec 0 0
/dev/sda3 /mnt/gentoo ext2 defaults 1 2
/dev/sda4 /boot ext2 defaults 1 2
And my LiLo.conf looks like:
timeout = 80
prompt
default = Linux
boot = /dev/sda
image = /boot/vmlinuz
###Don't change this comment - YaST2 identifier: Original name: Linux###
label = Linux
initrd = /boot/initrd
optional
root = /dev/sda1
vga = 0x317
append = "splash=silent apic desktop hdd=ide-scsi hddlun=0 showopts"
image = /boot/bzImage
label = Gentoo
read-only
initrd = /boot/initrd
root = /mnt/gentoo
vga = normal
lba32
append = ""
I've also tried grub without success (I think it does not detect my SATA drive), tried nearly every combination in the lilo.conf file...but I'm still stuck in SuSE javascript:emoticon('')
I guess I'm missing something important that has to do with SATA,partitions and bootloader but still can't figure out what.
Thanks for your help
[/code] _________________ .: Free your mind and your ass will follow :. |
|
Back to top |
|
|
BoZ Tux's lil' helper
Joined: 27 Aug 2003 Posts: 114 Location: The Netherlands
|
Posted: Wed Apr 07, 2004 10:01 pm Post subject: |
|
|
You have a few things confused. Even though your root-filesystem was mounted on /mnt/gentoo it will become / when booting directly into gentoo. This means you have to change /mnt/gentoo to /dev/sda3 in your lilo.conf
In your fstab you have the same error. When booting gentoo, /dev/sda3 is / (root-filesystem) and /dev/sda1 (containing suse) is not needed but can be mounted on /mnt/suse for instance. |
|
Back to top |
|
|
Treovo Tux's lil' helper
Joined: 30 Mar 2004 Posts: 88
|
Posted: Thu Apr 08, 2004 8:56 am Post subject: |
|
|
This was indeed a bit confused for me to deal with partitions but I'm getting used to it. Thanks for your help.
I corrected my fstab but still could not boot...so I decided to boot Gentoo from SuSE install disk. And it worked almost fine.
Gentoo displayed the message (as far as I can remember):
to function properly Gentoo need /proc
mount your root partition rw and use mkdir /proc
As I still could not mount the partition I created the file in SuSE.
Fine.
Second boot using SuSE install.
Gentoo displayed the following message (approximatively):
You did not compile using devfs
Seems like I've missed something important while compiling. I think this has still to do with my chrooting installation from SuSE.
Anyone an idea ?
I could start from the beginning but as the Gentoo install Cd does not recongnize my SATA drive I would probably end-up in this forum anyway _________________ .: Free your mind and your ass will follow :. |
|
Back to top |
|
|
klarnox Guru
Joined: 28 Jan 2003 Posts: 350 Location: Wisconsin, USA
|
Posted: Thu Apr 08, 2004 5:58 pm Post subject: |
|
|
You need to compile devfs into the kernel for Gentoo, and select the mount at boot option. |
|
Back to top |
|
|
Treovo Tux's lil' helper
Joined: 30 Mar 2004 Posts: 88
|
Posted: Tue Apr 13, 2004 6:07 pm Post subject: |
|
|
Thanks for the tip.
I couldn't unfortunately compile my kernel....and started over again _________________ .: Free your mind and your ass will follow :. |
|
Back to top |
|
|
|