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

Bug#332824: linux-image-2.6.13-1-686: Cannot find LVM root fs



On Mon, Oct 10, 2005 at 08:50:12AM +0200, maximilian attems wrote:
> On Sun, 09 Oct 2005, Jonathan Brandmeyer wrote:
> 
> > On Sun, 2005-10-09 at 10:20 +0200, Sven Luther wrote:
> > > On Sat, Oct 08, 2005 at 08:30:42PM -0400, Jonathan Brandmeyer wrote:
> > 
> > > Well, it works very well, and booted out of the box 
> > > > yaird-built pre-init image worked as well, and was smaller than the
> > > > initramfs image (1.6 MB vs 5.4 MB).
> 
> the difference beeing that you can put your harddisc into another
> box and it will come up just fine (having all the available drivers).

Indeed, the other difference is that there are arches which have trouble with
bigger initrd's. And anyway, i think that the right choice is to leave the
choice to the user. One size-fits-all-fits-nobody or how they say.

I am also a bit dubious about the realities of the changing hardware, i think
that a good solution to this would be a d-i modification which would rerun the
needed configuration steps. This is by no way the only needed changes, you run
in trouble if you move your disk to a different IDE-slot, or put it in a USB
or firewire or sata external box, or move it to another arch, or to newer
hardware not supported by your kernel. So, bloating the initrd up to contain
everything is only a (very) partial solution here, which really makes sense
only on x86.

> yaird is tuned for your current box.

Indeed.

> > > He nice, comparison, i suppose you need to drop the default "MODULES=most"
> > > option of initramfs-tools and use MODULES=dep. Can we now please try to
> > > default to MODULES=dep ? If we don't do it we will again be saddled with
> > > MODULES=most for etch.
> > 
> > When I tried that, I got a bunch of errors:
> > ln: `/tmp/mkinitramfs_IJobWs/./modprobe': File exists
> > ln: `/tmp/mkinitramfs_IJobWs/./modprobe': File exists
> > ln: `/tmp/mkinitramfs_IJobWs/./modprobe': File exists
> > ln: `/tmp/mkinitramfs_IJobWs/./modprobe': File exists
> > ln: `/tmp/mkinitramfs_IJobWs/./modprobe': File exists
> > cpio: ./modprobe: Too many levels of symbolic links
> > Working files in /tmp/mkinitramfs_IJobWs and overlay
> > in /tmp/mkinitramfs-OL_loyqMq
> > 
> > 
> > and an image that was still 5.1 MB.
> 
> thanks for your testing,
> we'll work on that this week. :)

Cool, not sure he did file a bug report already though :/

Friendly,

Sven Luther




Reply to: