home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!Germany.EU.net!rz.uni-hildesheim.de!agsc!veeble.han.sub.org!gkminix!gero
- From: gero@gkminix.han.de (Gero Kuhlmann)
- Subject: Re: MSDOS need to be on /dev/hda1 ?
- References: <1992Dec11.000248.12027@iitmax.iit.edu>
- Organization: gkminix, Hannover, Germany
- Date: Sun, 13 Dec 92 16:49:16 GMT
- Message-ID: <1992Dec13.164916.1759@gkminix.han.de>
- Lines: 41
-
- thsswto@iitmax.iit.edu (William T. O'Connell) writes:
- > [Q1] Is lilo failing Is this because /dev/hda1 is linux's root partition
- > and not DOS??
-
- Probably not.
-
- > [Q2] If so, is there a simple way to fix this? (or do I need to start from
- > scratch again, ouch).
-
- Probably yes (see below).
-
- > [Q3] If the partitions are OK, Any clues while lilo is failing (as
- > he says with enthusiasm).
-
- I suppose that you forgot to say lilo about the disk on which the root file
- system is located. As is obvious from the lilo output you attached to your
- posting the kernel tries to mount the root file system according to the
- disk device number compiled into it or setup by lilo, which fails because there
- is no LINUX partition (default is part.2 which is swap on your system). The
- following is a copy of my lilo-install script to show how to tell lilo about
- the root disk:
-
- #/bin/sh
- cd /etc/lilo
- [...]
- /etc/lilo/lilo -b /dev/hda2 -c -d 5 -i /etc/lilo/boot.b $* \
- linux=/etc/lilo/Image,/dev/hda2 \
- old-linux=/etc/lilo/Image.backup,/dev/hda2 \
- msdos=/etc/lilo/chain.b+/dev/hda1@/dev/hda
-
- My Linux root partition is on /dev/hda2 and the DOS partition is on /dev/hda1.
- I boot directly from the hard disk with a self-written boot utility in the MBR
- so I setup lilo to install the lilo-boot block into /dev/hda2. Skip this if you
- want another boot policy. The important line is the one starting with "linux="
- which sets the active linux image and root disk.
-
- Hope this helps. gero.
- --
- Gero Kuhlmann Zerberus: G.KUHLMANN@A-LINK-H.ZER
- Donarweg 4 SubNet: gero@gkminix.sub.org
- D-3000 Hannover 51 IN: gero@gkminix.han.de
-