home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!rice!rice!corywest
- From: corywest@rice.edu (Cory West)
- Subject: An interesting discovery about boot devices.
- Message-ID: <CORYWEST.92Jul21234040@rio-grande.rice.edu>
- Sender: news@rice.edu (News)
- Organization: Well, none really, but I know where my socks are!
- Date: Wed, 22 Jul 1992 05:40:40 GMT
- Lines: 25
-
-
- I'm not sure if this is common knowledge, but I just
- 'discovered' it on my own a couple of days ago and I have been
- reading this group and all related documentation for a good,
- solid six weeks:
-
- If you set the major and minor numbers of your boot
- device to 0 0 in the kernel (I did with with a binary editor
- at the proper offset), when Linux boots, it _asks_ you what
- to use as a boot device. This is handy because if you have a
- tiny DOS partition and use BOOT.SYS and BOOTLIN, you can
- boot from floppy or hard disk without having two different kernel
- image files around.
-
- Anyway, I just thought that was interesting and thought
- someone else might find it useful.
-
- P.S. Since there's a way to set or not set your boot device major
- and minor numbers, is there also a way to set the default video
- mode so that the kernel doesn't ask you what video mode it should
- use? That would be handy for a totally autobooting kernel (with
- shoelace or something like that) for those infrequent remote reboots.
-
-
- Cory West, corywest@rice.edu
-