Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tlug: root device 08:01



> tools/build bootsect setup compressed/vmlinux.out CURRENT >
> zImage
> Root device is (8, 1)
> Boot sector 512 bytes.
> Setup is 4336 bytes.
> System is 390 kB
> sync
> dd bs=8192 if=zImage of=/dev/fd0
> 49+1 records in
> 49+1 records out
> make[1]: Leaving directory `/usr/src/linux/arch/i386/boot'
OK so far....
> root:/usr/src/linux# /sbin/rdev /dev/fd0
> Root device /dev/sda1
Also OK.
> Is this possible without a lilo or other boot manager? The
Yep.
> kernel doesn't read the SCSI drives then panics with
What do you mean with "read" ? Boot from them ?
> VFS Cannot open root device 08:01
Possible causes:
1. /dev/sda1 does not contain a valid filesystem or a valid
/etc/inittab
2. Your kernel has no ext2 support compiled in ( you compiled it
as a loadable module )
3. Your kernel doesn't have support for your SCSI adapter card
compiled in ( maybe you compiled this as a loadable module ).
4. You forgot to compile in SCSSI disk support ( again, maybe
you specified that as a module ).

Use of rdev:

rdev -h provides help.

rdev <kernelfile> <rootdevice> tells your kernel what device to
use as root file system.

rdev -s <kernelfile> <swapdevice/swapfile> tells your kernel
what swapdevice/swapfile to use.

rdev -R <kernelfile> 1 turns on root filesystem check before
mounting the root filesystem read/write

A properly rdev'd kernel can be written to a formatted diskette
using "cp <kernelfile> /dev/fd0" assuming you use the "A" drive.
No need to use dd ( you can use it, however, when you like ).

For testing use one of those prefabricated kernels that come
with Slackware, e.g. "scsi.s" or "scsinet.s". However, don't
forget to configure it with rdev first.

Hope that helps.

                                Karl-Max Wagner
                                karlmax@example.com
--------------------------------------------------------------
Next TLUG Meeting: 13 June Sat, Tokyo Station Yaesu gate 12:30
Featuring Stone and Turnbull on .rpm and .deb packages
Next Nomikai: 17 July, 19:30 Tengu TokyoEkiMae 03-3275-3691
After June 13, the next meeting is 8 August at Tokyo Station
--------------------------------------------------------------
Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links