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

Bug#407495: Linux 2.6.18-686 serious boot problem in multi-user-mode, single-user boots without problems. (Kernel or scripts in initrd?)



This one time, at band camp, Elias Schwerdtfeger said:
> Am Freitag, den 19.01.2007, 16:07 +0000 schrieb Stephen Gran:
> 
> > I'm glad to hear it's working for you.  This is unfortunately a known
> > problem without much of an out of the box resolution.  Probably a line
> > in the release notes would be good to help people who might stumble
> > across this.  In the meantime, I am going to reduce the severity of the
> > bug to normal, as it has a known workaround, and it is a known side
> > effect of asynchronous device probing that will not be changed in the
> > upstream kernel.
> 
> Yes, it works to boot the kernel. (And that's a lot in this situation.)
> But /dev/hda and /dev/hde are still swapped, and the filesystem check
> fails. To test the system, I mounted the disks manually in single user
> mode and typed "init 2" to get a working system. 
> 
> I don't want to edit this in my fstab, because I still want to boot the
> old kernel sometimes. 

Use labels for all your filesystems.  Then actual disk enumeration
doesn't matter anymore.  Your old kernel will still run fine.  You can
even use UUID for swap partitions instead of partition entries.

This is my fstab:
LABEL=sda_swap  none            swap    sw              0       0
LABEL=ROOT      /               ext3    defaults,errors=remount-ro 0       1
LABEL=TMP       /tmp            ext3    defaults        0       2
LABEL=VAR       /var            ext3    defaults        0       2
LABEL=HOME      /home           ext3    defaults        0       2

This worked on sarge, and it works now.
-- 
 -----------------------------------------------------------------
|   ,''`.                                            Stephen Gran |
|  : :' :                                        sgran@debian.org |
|  `. `'                        Debian user, admin, and developer |
|    `-                                     http://www.debian.org |
 -----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


Reply to: