Bug#347482: initramfs-tools: Fails to boot with / on LVM and /boot on separate partition

2006-01-11 Thread maximilian attems
reassign grub
thanks


On Wed, 11 Jan 2006, Frans Pop wrote:

 retitle 347482 Does not support ! separator in /dev/mapper names
 severity 347482 important
 thanks
 
 On Wednesday 11 January 2006 03:44, you wrote:
   what were the boot args?
   cat /proc/cmdline
  root=/dev/mapper!Debian-root ro
 
  The problem seems to be in the !. The lvm script expects / there.
  This means the vg is not recognized properly and therefore the modprobe
  for dm-mod and the vgchange are not executed.
 
 If I change the ! to / in grub's menu.lst, the system reboots fine.
 I would guess though that the ! is an accepted delimiter and should be 
 supported.
 
 Actually, grub has the following options in its menu.lst:
 # kopt=root=/dev/mapper/Debian-root ro
 # kopt_2_6=root=/dev/mapper!Debian-root ro
 
 It could well be that the same goes for RAID (or anything that 
 uses /dev/mapper)!

the convert linux function in update-grub needs to be fixed
to exclude /dev/mapper/* 

-- 
maks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347482: initramfs-tools: Fails to boot with / on LVM and /boot on separate partition

2006-01-10 Thread Frans Pop
Package: initramfs-tools
Version: 0.48

The new option in Debian Installer to automatically partition using LVM 
creates a system where / and most other partitions are on LVM, but /boot 
is a separate real partition.

The initrd created using initramfs-tools fails to boot with this setup and 
seems not to be aware at all the LVM is needed.


pgpPOcflku6EA.pgp
Description: PGP signature


Bug#347482: initramfs-tools: Fails to boot with / on LVM and /boot on separate partition

2006-01-10 Thread Maximilian Attems
On Wed, Jan 11, 2006 at 02:09:31AM +0100, Frans Pop wrote:
 
 The new option in Debian Installer to automatically partition using LVM 
 creates a system where / and most other partitions are on LVM, but /boot 
 is a separate real partition.
 
 The initrd created using initramfs-tools fails to boot with this setup and 
 seems not to be aware at all the LVM is needed.

i'm a bit puzzled as i use root on lvm and the generated initramfs
had vgchange and the dm-mod module.
so no ordering problem by d-i.

can you say what was the exact boot failure?
what where the last messages on the console..

any additonal hint about what module i-t failed to load?
cat /proc/modules
what were the boot args?
cat /proc/cmdline

-- 
maks



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#347482: initramfs-tools: Fails to boot with / on LVM and /boot on separate partition

2006-01-10 Thread Frans Pop
On Wednesday 11 January 2006 03:11, you wrote:
 can you say what was the exact boot failure?
 what where the last messages on the console..

SCSI, CDROM and USB have been loaded.
Begin: Mounting root file system...
Begin: Running /scripts/local-top
Done.
ALERT! /dev/mapper!Debian-root does not exist. Dropping to a shell!

 any additonal hint about what module i-t failed to load?
 cat /proc/modules
ide_cd
cdrom
ide_generic
uhci_hcd
usbcore
sd_mod
piix
generic
ide_core
pcnet32
mii
mptspi
mptscsih
mptbase
scsi_mod
thermal
processor
fan

 what were the boot args?
 cat /proc/cmdline
root=/dev/mapper!Debian-root ro

The problem seems to be in the !. The lvm script expects / there.
This means the vg is not recognized properly and therefore the modprobe 
for dm-mod and the vgchange are not executed.


pgpZQPIPW895X.pgp
Description: PGP signature


Bug#347482: initramfs-tools: Fails to boot with / on LVM and /boot on separate partition

2006-01-10 Thread Frans Pop
retitle 347482 Does not support ! separator in /dev/mapper names
severity 347482 important
thanks

On Wednesday 11 January 2006 03:44, you wrote:
  what were the boot args?
  cat /proc/cmdline
 root=/dev/mapper!Debian-root ro

 The problem seems to be in the !. The lvm script expects / there.
 This means the vg is not recognized properly and therefore the modprobe
 for dm-mod and the vgchange are not executed.

If I change the ! to / in grub's menu.lst, the system reboots fine.
I would guess though that the ! is an accepted delimiter and should be 
supported.

Actually, grub has the following options in its menu.lst:
# kopt=root=/dev/mapper/Debian-root ro
# kopt_2_6=root=/dev/mapper!Debian-root ro

It could well be that the same goes for RAID (or anything that 
uses /dev/mapper)!


pgpcbA8Z28ubp.pgp
Description: PGP signature