Adam,Yep.
Have you got: initrd=/initrd.img
in your lilo.conf file?
Thanks, I found it. But how do I do that ?
If you can boot with another kernel why don't you just put in the old 2.6.5 kernel (it is in /var/cache/apt/archives)
WhenI did that X would not start. I have two entries in separate paragraphs under 'pointing
your mouse problem with XFree86 and 2.6.X kernel is all over the net. Just search in google. The quick fix is something like this:
edit /etc/X11/XF86Config-4
find a line that has /dev/psaux or /dev/usb/mouse0 or similar replace with /dev/input/mice and restart X.
device' (or whatever), 'dev/psaux' and '/dev/input/mice' ... changing the first crashes X.
........<snip>.....
Also I try and keep the last working kernel at /vmlinuz.old so I can always boot from that if I get into trouble.... is there a symlink from /vmlinuz.old to /var/cache/apt/archives ?
...but more importantly, I keep getting the message
"Error -3 While decompressing !and the boot process hangs.c0355f8c(1027641439)->d7c20000(4096) VFS: Cannot open root device "345" or unknown-block (3,69) Please append a correct "root=" boot option Kernel panic: VFS:Unable to mount root fs on unknown-block (3,69)"
lilo.conf (attached) has
boot=/dev/hda
root/dev/hdb5
but neither of them, or 'root=/dev/hda1'
work in allowing the boot process to continue. There must be a simple solution.
[Sorry about the graphic mess below. I transcribed it by hand from Linux to XP
drives, as I had no cut & paste. It looked OK in Moz-Thunderbird]
Any ideas ?
Adam Bogacki, [EMAIL PROTECTED]
On Sun, 2 May 2004 08:40 pm, Adam Felix Bogacki wrote:
Oops, I forgot to run lilo ... but I then got the error message
"/dev/mapper/control: open failed: No such device Is device mapper driver missing from kernel ? Incompatible libdevmapper 1.00.15-ioctl (2004-04-07) (compat) and kernel driver Warning: The boot sector and map file are on different disks Added Linux * Skipping /vmlinuz.old Added DOS"
when I try to reboot from C: using the newly installed & apt-upgraded kernel I get
"Error -3 While decompressing ! c0355f8c(1027641439)->d7c20000(4096) VFS: Cannot open root device "345" or unknown-block (3,69) Please append a correct "root=" boot option Kernel panic: VFS:Unable to mount root fs on unknown-block (3,69)"
Tux:~# df Filesystem 1K-blocks Used Available Use Mounted on /dev/hdb5 1369008 218325 1079997 17% / tmpfs 191980 0 191980 0% /dev/shm /dev/hda1 19991104 10655424 9335680 54% /mnt/DOS /dev/hdb2 7746 6970 376 95% /boot /dev/hdb9 18951504 3723408 14265404 21% /home /dev/hdb6 12342396 1934112 9781352 17% /usr /dev/hdb7 1872960 435864 1341916 25% /usr/local /dev/hdb8 1824768 298408 1433588 18% /var /dev/hde5 7692876 8 7302092 1% /home/cyberia /dev/hde6 1344016 8 1275736 1% /usr/cyberia
... previously /boot was showing 100% full.
Tux:/boot# ls . -la
system.map-2.6.5-1-686 787887 lost+found
1024
boot.0300
512
map
73728
vmlinuz-2.6.5-1-686
1125072
config-2.6.5-1-686
52167
initrd.img-2.6.5-1-686
4009984
and four symlinks
range: 31-34
The boot error message makes reference to an unknown block. This may be due to my use of 'parted' to increase space in /usr which was previously 99% full. This was successful, but my attempt to increase the size of /boot was not - I'm at a loss to understand why.
"[EMAIL PROTECTED] /root % parted /dev/hdb ----<snip>---- Information: The operating system thinks the geometry on /dev/ide/host0/bus0/target1/lun0/disc is 4865/255/63. Therefore, cylinder 1024 ends at 8032.499M
(parted) print -----<snip>----- Disk label type: msdos Minor Start End Type Filesystem Flags 2 0.031 7.844 Primary ext3 boot 1 7.844 38162.219 extended 5 956.997 2337.583 logical ext3 7 2384.679 4243.732 logical ext3 8 4290.829 6102.817 logical ext3 9 6196.979 32153.532 logical ext3 6 32247.694 37244.443 logical ext3 10 37244.474 38162.219 logical ext3
(parted) resize 2 0.031 25.567 [trying to enlarge /boot]
Warning: You requested to resize the partition to 0.031-25.567Mb. The closest Parted can manage is 0.031-7.844MB."
I understand that Parted is choosing options consistent with interactions between firmware and software, but it has previously stated that "...cylinder 1024 ends at 8032.499Mb" so that there should be plenty of room to increase the size of /boot, given that it should be placed lower than cylinder 1024.
In any case, the size of /boot may not be the reason for the boot process failing.
What would be a " correct "root=" boot option ? I have unsuccessfully tried the option "boot: /dev/hdb5" .
What am I missing here ? I'm currently reduced to tweaking my DOS drive ...
Adam Bogacki, [EMAIL PROTECTED]
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)', # --------------- `install-mbr(8)', `/usr/share/doc/lilo/', # and `/usr/share/doc/mbr/'.
# +---------------------------------------------------------------+ # | !! Reminder !! | # | | # | Don't forget to run `lilo' after you make changes to this | # | conffile, `/boot/bootmess.txt', or install a new kernel. The | # | computer will most likely fail to boot if a kernel-image | # | post-install script or you don't remember to run `lilo'. | # | | # +---------------------------------------------------------------+ # Support LBA for large hard disks. # lba32 # Overrides the default mapping between harddisk names and the BIOS' # harddisk order. Use with caution. #disk=/dev/hde # bios=0x81 #disk=/dev/sda # bios=0x80 # Specifies the boot device. This is where Lilo installs its boot # block. It can be either a partition, or the raw device, in which # case it installs in the MBR, and will overwrite the current MBR. # boot=/dev/hda # Specifies the device that should be mounted as root. (`/') # root=/dev/hdb5 # Enable 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. It is disabled here by default # because it doesn't always work. # # compact # Installs the specified file as the new boot sector # You have the choice between: bmp, compat, menu and text # Look in /boot/ and in lilo.conf(5) manpage for details # install=/boot/boot-menu.b # Specifies the location of the map file # map=/boot/map # You can set a password here, and uncomment the `restricted' lines # in the image definitions below to make it so that a password must # be typed to boot anything but a default configuration. If a # command line is given, other than one specified by an `append' # statement in `lilo.conf', the password will be required, but a # standard default boot will not require one. # # This will, for instance, prevent anyone with access to the # console from booting with something like `Linux init=/bin/sh', # and thus becoming `root' without proper authorization. # # Note that if you really need this type of security, you will # likely also want to use `install-mbr' to reconfigure the MBR # program, as well as set up your BIOS to disallow booting from # removable disk or CD-ROM, then put a password on getting into the # BIOS configuration as well. Please RTFM `install-mbr(8)'. # # password=tatercounter2000 # Specifies the number of deciseconds (0.1 seconds) LILO should # wait before booting the first image. # delay=150 # You can put a customized boot message up if you like. If you use # `prompt', and this computer may need to reboot unattended, you # must specify a `timeout', or it will sit there forever waiting # for a keypress. `single-key' goes with the `alias' lines in the # `image' configurations below. eg: You can press `1' to boot # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'. # # message=/boot/bootmess.txt prompt timeout=150 # prompt # single-key # delay=100 # timeout=100 # Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>) # # vga=ask # vga=9 # vga=normal # Kernel command line options that apply to all installed images go # here. See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in # the Linux kernel `Documentation' directory. # # append="apm=on" # Boot up Linux by default. # default=Linux image=/vmlinuz label=Linux read-only initrd=/initrd.img # restricted # alias=1 image=/vmlinuz.old label=LinuxOLD read-only optional # restricted # alias=2 # If you have another OS on this machine to boot, you can uncomment the # following lines, changing the device name on the `other' line to # where your other OS' partition is. # other=/dev/hda1 label=DOS
# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the # Debian X Configuration tool, using values from the debconf database. # # Edit this file with caution, and see the XF86Config-4 manual page. # (Type "man XF86Config-4" at the shell prompt.) # # This file is automatically updated on xserver-xfree86 package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xfree86 # package. # # If you have edited this file but would like it to be automatically updated # again, run the following commands as root: # # cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom # md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum # dpkg-reconfigure xserver-xfree86 Section "Files" FontPath "unix/:7100" # local font server # if the local font server has problems, we can fall back on these FontPath "/usr/lib/X11/fonts/ucs" FontPath "/usr/lib/X11/fonts/Type1" FontPath "/usr/lib/X11/fonts/CID" FontPath "/usr/lib/X11/fonts/Speedo" FontPath "/usr/lib/X11/fonts/misc" FontPath "/usr/lib/X11/fonts/cyrillic" FontPath "/usr/lib/X11/fonts/75dpi" FontPath "/usr/lib/X11/fonts/100dpi" FontPath "/usr/lib/X11/fonts/75dpi:unscaled" FontPath "/usr/lib/X11/fonts/100dpi:unscaled" EndSection Section "Module" Load "GLcore" Load "bitmap" Load "dbe" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "record" Load "speedo" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/psaux" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Generic Mouse" Driver "mouse" Option "SendCoreEvents" "true" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" Option "ZAxisMapping" "4 5" EndSection Section "Device" Identifier "NVIDIA TNT2 V.365" Driver "nv" VideoRam 32000 EndSection Section "Monitor" Identifier "NEC V720" HorizSync 31-70 VertRefresh 55-120 Option "DPMS" EndSection Section "Screen" Identifier "Default Screen" Device "NVIDIA TNT2 V.365" Monitor "NEC V720" DefaultDepth 24 SubSection "Display" Depth 1 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Generic Mouse" EndSection Section "DRI" Mode 0666 EndSection
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html