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

Re: sid - new lilo installed and boot error - SOLUTION?



Could some one please advise whether this is the best / safest
way to recover a bootable system?

backup the / partition.
reinstall a base system - upgrade this to sid - copy back 
the / omitting /boot (I actually have /boot on another partition).

Thanks for an answer.


According to Eric Smith on Wed, Nov 28, 2001 at 01:01:34AM +0100:
> I installed the new lilo and let debconf create a new
> lilo.conf and add a boot sector.  Before restarting,
> however I added an entry for Windows, then /sbin/lilo -v
> which reported nothing abnormal.
> 
> However when i tried to reboot, I get:
> 
> unable to mount root fs
> add a root= entry (or something to that effect)
> 
> enclosed is the relevant lilo.conf which does show the root fs
> pointing to /dev/hda3, which is correct (as per original
> lilo.conf.
> 
> Here are the contents of the /boot - however I must admit that i
> seem to have lost the map file while trying to correct the
> problem :(
> 
> Is it possible to copy the files I need to the /boot directory
> and recover the boot?
> 
> Thanx
> 
> total 5656
> -rwxr-xr-x   1 root     root      1001473 Oct 25 03:31 vmlinuz-2.2.19pre17
> -rw-r--r--   1 root     root       272592 Oct 25 03:31 System.map-2.2.19pre17
> -rw-r--r--   1 root     root        14685 Oct 25 03:31 config-2.2.19pre17
> -rw-r--r--   1 root     root          512 Oct 25 03:38 boot.0300
> -rw-r--r--   1 root     root        33506 Nov  9 10:20 config-2.4.14-586
> -rw-r--r--   1 root     root       382516 Nov  9 13:36 System.map-2.4.14-586
> -rw-r--r--   1 root     root       587996 Nov  9 13:36 vmlinuz-2.4.14-586
> lrwxrwxrwx   1 root     root           17 Nov 13 10:55 boot.b -> /boot/boot-menu.b
> -rw-r--r--   1 root     root      3407872 Nov 17 21:38 initrd-2.4.14-586
> lrwxrwxrwx   1 root     root           23 Nov 17 21:38 initrd -> /boot/initrd-2.4.14-586
> -rw-r--r--   1 root     root         7708 Nov 20 00:30 boot-bmp.b
> -rw-r--r--   1 root     root         7680 Nov 20 00:30 boot-menu.b
> -rw-r--r--   1 root     root         5920 Nov 20 00:30 boot-text.b
> -rw-r--r--   1 root     root         5920 Nov 20 00:30 boot-compat.b
> -rw-r--r--   1 root     root          656 Nov 20 00:30 os2_d.b
> -rw-r--r--   1 root     root          728 Nov 20 00:30 chain.b
> -rw-rw-r--   1 root     root            0 Nov 27 22:31 bootmess.txt
> -rw-------   1 root     root          512 Nov 27 22:47 boot.0303
> -rw-------   1 root     root         6656 Nov 27 22:49 map
> 
> -- 
> Eric Smith

> lba32
> # Generated by liloconfig
> 
> # Specifies the boot device
> boot=/dev/hda3
> 
> # Specifies the device that should be mounted as root.
> # If the special name CURRENT is used, the root device is set to the
> # device on which the root file system is currently mounted. If the root
> # has been changed with  -r , the respective device is used. If the
> # variable ROOT is omitted, the root device setting contained in the
> # kernel image is used. It can be changed with the rdev program.
> root=/dev/hda3
> 
> # Enables map compaction:
> # Tries to merge read requests for adjacent sectors into a single
> # read request. This drastically reduces load time and keeps the map
> # smaller. Using COMPACT is especially recommended when booting from a
> # floppy disk.
> compact
> 
> # Install the specified file as the new boot sector.
> # If INSTALL is omitted, /boot/boot.b is used as the default.
> install=/boot/boot.b
> 
> # Specifies the number of _tenths_ of a second LILO should
> # wait before booting the first image.  LILO
> # doesn't wait if DELAY is omitted or if DELAY is set to zero.
> delay=60
> 
> # Specifies the location of the map file. If MAP is
> # omitted, a file /boot/map is used.
> 
> map=/boot/map
> 
> # Specifies the VGA text mode that should be selected when
> # booting. The following values are recognized (case is ignored):
> #   NORMAL  select normal 80x25 text mode.
> #   EXTENDED  select 80x50 text mode. The word EXTENDED can be
> #     abbreviated to EXT.
> #   ASK  stop and ask for user input (at boot time).
> #   <number>  use the corresponding text mode. A list of available modes
> #     can be obtained by booting with  vga=ask  and pressing [Enter].
> vga=ask
> 
> image=/vmlinuz
> 	label=Linux
> 	read-only
> 
> image=/dev/hdc1
> 	label=Windows
> 
> # If you have another OS on this machine (say DOS),
> # you can boot if by uncommenting the following lines
> # (Of course, change /dev/hda2 to wherever your DOS partition is.)
> # other=/dev/hda2
> #   label=dos
> 


-- 
Eric Smith
Fruitcom.com Benelux
Phone:     +31 70 313 0240
Mobile:    +31 6 551 76300



Reply to: