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

Bug#257129: kernel-image-2.4.26: Does not mount filesystems specified by label



On Thu, Jul 01, 2004 at 04:14:31PM +0200, Michelle Konzack wrote:
> Am 2004-07-01 13:32:24, schrieb Michal Suchanek:
> >Package: kernel-image-2.4.26-1-686
> >Version: 2.4.26-2
> >Severity: normal
> >File: kernel-image-2.4.26
> >
> >When the kernel boots something says it cannot check root because it is
> >not mounted ro, then it continues with errors like
> >"No such device: LABEL=Home" while mounting other partitions. When I
> >boot with init=/bin/sh and mount /proc I still cannot mount my partitions
> >by label. Mount says "no such partition".
> 
> Sorry; I am using the sema Kernel without any problems...
> Maybe you ask a the list "debian-user" or the cz version.
> 
> You may post your lilo.conf there because it seems to be 
> an config error on your side.
> 

Do you mount your filesystems by label?
I can change my fstab so that the kernel boots (by replacing the LABEL=
things with device names) but it should work this way and it does with
2.6 kernels and used to work with a knoppix kernel until I booted a 2.6
kernel.
IMHO it is not a configuration problem if it works with everything I
tried except 2.4 debian kernels.

I have this problem on two systems which I installed like this:
- run debootstrap from knoppix, use the knoppix kernel
- upgrade to testing
- install a debian kernel


--------/etc/fstab--------------------
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/hda7 swap swap
proc /proc proc defaults 0 0
usb /proc/bus/usb usbfs defaults 0 0
devfs /devfs devfs defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=Debian / ext3 defaults 1 1
LABEL=Home /home ext3 defaults 1 2
LABEL=tmp /tmp ext3 defaults 1 2
LABEL=debvar /var ext3 defaults 1 2
LABEL=src /usr/src ext3 defaults 1 2
/dev/hda14 /scratch reiserfs defaults 1 2
/dev/hdd /cdrom auto noauto,users,nosuid,nodev,ro 0 0
/dev/scd0 /dvd auto noauto,users,nosuid,nodev,ro 0 0
/dev/fd1 /floppy auto noauto,users,nosuid,nodev,rw 0 0
/dev/sda1 /flash vfat noauto,users,nosuid,nodev,rw 0 0

----------/boot/grub/menu.lst-----------
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.           
default		saved

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		5

# Pretty colours
color green/blue yellow/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows XP
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default optons below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda8 ro apm=off,poweroff acpi=force

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,7)

## should update-grub create alternative boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## ## End Default Options ##

title		Debian GNU/Linux, kernel 2.6.6-2-686
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.6-2-686 root=/dev/hda8 ro apm=off,poweroff acpi=force
initrd		/boot/initrd.img-2.6.6-2-686
savedefault

title		Debian GNU/Linux, kernel 2.6.6-2-686 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.6-2-686 root=/dev/hda8 ro apm=off,poweroff acpi=force single
initrd		/boot/initrd.img-2.6.6-2-686
savedefault

title		Debian GNU/Linux, kernel 2.6.6-1-686
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.6-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force
initrd		/boot/initrd.img-2.6.6-1-686
savedefault

title		Debian GNU/Linux, kernel 2.6.6-1-686 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.6-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force single
initrd		/boot/initrd.img-2.6.6-1-686
savedefault

title		Debian GNU/Linux, kernel 2.6.5-1-686
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.5-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force
initrd		/boot/initrd.img-2.6.5-1-686
savedefault

title		Debian GNU/Linux, kernel 2.6.5-1-686 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.5-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force single
initrd		/boot/initrd.img-2.6.5-1-686
savedefault

title		Debian GNU/Linux, kernel 2.6.5
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.5 root=/dev/hda8 ro apm=off,poweroff acpi=force
savedefault

title		Debian GNU/Linux, kernel 2.6.5 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.5 root=/dev/hda8 ro apm=off,poweroff acpi=force single
savedefault

title		Debian GNU/Linux, kernel 2.6.4-1-686
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.4-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force
initrd		/boot/initrd.img-2.6.4-1-686
savedefault

title		Debian GNU/Linux, kernel 2.6.4-1-686 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.4-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force single
initrd		/boot/initrd.img-2.6.4-1-686
savedefault

title		Debian GNU/Linux, kernel 2.6.2
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.2 root=/dev/hda8 ro apm=off,poweroff acpi=force
savedefault

title		Debian GNU/Linux, kernel 2.6.2 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.2 root=/dev/hda8 ro apm=off,poweroff acpi=force single
savedefault

title		Debian GNU/Linux, kernel 2.6.1.old
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.1.old root=/dev/hda8 ro apm=off,poweroff acpi=force
savedefault

title		Debian GNU/Linux, kernel 2.6.1.old (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.1.old root=/dev/hda8 ro apm=off,poweroff acpi=force single
savedefault

title		Debian GNU/Linux, kernel 2.6.1
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.1 root=/dev/hda8 ro apm=off,poweroff acpi=force
savedefault

title		Debian GNU/Linux, kernel 2.6.1 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.1 root=/dev/hda8 ro apm=off,poweroff acpi=force single
savedefault

title		Debian GNU/Linux, kernel 2.6.0-test9
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.0-test9 root=/dev/hda8 ro apm=off,poweroff acpi=force
savedefault

title		Debian GNU/Linux, kernel 2.6.0-test9 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.6.0-test9 root=/dev/hda8 ro apm=off,poweroff acpi=force single
savedefault

title		Debian GNU/Linux, kernel 2.4.26-1-686
root		(hd0,7)
kernel		/boot/vmlinuz-2.4.26-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force
initrd		/boot/initrd.img-2.4.26-1-686
savedefault

title		Debian GNU/Linux, kernel 2.4.26-1-686 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.4.26-1-686 root=/dev/hda8 ro apm=off,poweroff acpi=force single
initrd		/boot/initrd.img-2.4.26-1-686
savedefault

title		Debian GNU/Linux, kernel 2.4.21-xfs
root		(hd0,7)
kernel		/boot/vmlinuz-2.4.21-xfs root=/dev/hda8 ro apm=off,poweroff acpi=force
savedefault

title		Debian GNU/Linux, kernel 2.4.21-xfs (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.4.21-xfs root=/dev/hda8 ro apm=off,poweroff acpi=force single
savedefault

title		Debian GNU/Linux, kernel 2.4
root		(hd0,7)
kernel		/boot/vmlinuz-2.4 root=/dev/hda8 ro apm=off,poweroff acpi=force
initrd		/boot/initrd.img-2.4
savedefault

title		Debian GNU/Linux, kernel 2.4 (recovery mode)
root		(hd0,7)
kernel		/boot/vmlinuz-2.4 root=/dev/hda8 ro apm=off,poweroff acpi=force single
initrd		/boot/initrd.img-2.4
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST


title		Windows XP
root		(hd0,0)
#makeactive # always active
chainloader	+1
savedefault
#




Reply to: