[Soekris] Installing SuSE 10.2 on laptop for 4801

william estrada MrUmunhum at popdial.com
Fri Mar 2 18:00:06 UTC 2007


-- 
William Estrada
MrUmunhum at popdial.com
Mt-Umunhum-Wireless.net ( 64.124.13.3 )

> Message: 1
> Date: Thu, 1 Mar 2007 21:38:09 -0800
> From: Eric Knudstrup <eknuds-soekris at knudstrup.org>
> Subject: Re: [Soekris] Installing SuSE 10.2 on laptop for 4801
> To: soekris-tech at lists.soekris.com
> Message-ID: <200703012138.09440.eknuds-soekris at knudstrup.org>
> Content-Type: text/plain;  charset="iso-8859-1"
> 
> Okay, I have it so I have a kernel that will boot on the thing in console 
> mode, but I'm confused about how to tell the kernel what partition the kernel 
> is on.  On my laptop it uses hdc2, but neither hda2, hdb2, or hdc2 works on 
> the Soekris.  What does the Soekris bios call the hd?  It panics when booting 
> the kernel:
> 
> VFS: Cannot open root device "<NULL>" or unknown-block(22,2)
> Please append a correct "root=" boot option
> Kernel panic - not syncing: VFS: Unable to mount root fs on 
> unknown-block(22,2)
> 
> At this point I've pulled the root=/dev/hdXX parameter out.  Any ideas?  I'm 
> planning on rebuilding grub or switching to lilo (good old lilo...) after I 
> get this thing up.

   Stay with grub!  Here is my grub.conf for Fedora:

> # cat /boot/grub/grub.conf 
> # grub.conf generated by anaconda
> #
> # Note that you do not have to rerun grub after making changes to this file
> # NOTICE:  You do not have a /boot partition.  This means that
> #          all kernel and initrd paths are relative to /, eg.
> #          root (hd0,0)
> #          kernel /boot/vmlinuz-version ro root=/dev/hda1
> #          initrd /boot/initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=5
> serial --unit=0 --speed=57600
> terminal --timeout=5 serial console
> title Fedora Core (2.6.18-1.2200.fc5)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.6.18-1.2200.fc5 ro root=LABEL=/1 console=ttyS0,57600n81 rhgb quiet
>         initrd /boot/initrd-2.6.18-1.2200.fc5.img
> title Fedora Core (2.6.15-1.2054_FC5)
>         root (hd0,0)
>         kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 console=ttyS0,57600n81 rhgb quiet
>         initrd /boot/initrd-2.6.15-1.2054_FC5.img

Remember, grub will call the boot device hd0. So your primary boot device will
be hd0 and your secondary device will be hd1.

You can test boot options by hitting 'ESC' and go interactive with grub.



More information about the Soekris-tech mailing list