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

making a bootable floppy



Hi,

I'm still busy trying to get my selfbuilt (make-kpkg) kernel to boot off a
floppy.
So far I wasn't successfull, neither the default kernel 2.2.20-pmac
nor one built from 2.4.18 deb (with patches), nor with a
benh tree kernel (without patches) worked.

I guess my problem is how to specify the root device numbers in the
System file.

My root is /dev/sda2:

host:~# ls -l /dev/sda2
brw-rw----    1 root     disk       8,   2 Mar 14 10:10 /dev/sda2

So as I understand it the major number is 8, the minor number is 2.
I copied the System file from the boot-floppy-hfs.img and opend
it with emacs in hexl-mode. I guess the relevant part looks like this:

00012d00: dada dada 0000 0065 726f 6f74 3d30 3230  .......eroot=020
00012d10: 3020 6c6f 6164 5f72 616d 6469 736b 3d31  0 load_ramdisk=1
00012d20: 2070 726f 6d70 745f 7261 6d64 6973 6b3d   prompt_ramdisk=
00012d30: 3120 6164 625f 6275 7474 6f6e 733d 3130  1 adb_buttons=10
00012d40: 332c 3131 3120 7669 6465 6f3d 6f66 6f6e  3,111 video=ofon
00012d50: 6c79 2020 2020 2020 2020 2020 2020 2020  ly
00012d60: 2020 2020 2020 2020 2020 2000 0000 0000             .....

Now, I tried root=0802 and root=8200, both didn't work.

Could someone please kick me in the right direction?
Thanks!

-- 
Vinai
Registered Linux User #280755, Debian GNU/Linux  http://counter.li.org/
Secure eMail with gnupg                          http://www.gnupg.org/

Attachment: pgpF7aSTLP37e.pgp
Description: PGP signature


Reply to: