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

Bug#498731: --foreign fails due to setup_devices



Otavio Salvador, le Thu 28 Jul 2011 15:27:54 +0200, a écrit :
> On Thu, Jul 28, 2011 at 14:22, Samuel Thibault <sthibault@debian.org> wrote:
> > I indeed don't see anything in the script which copies devices.tar.gz to
> > the target.
> 
> How I can reproduce the issue?

Actually I wonder where that is documented, or whether it is documented
at all, but what I do is:

# dd < /dev/zero > foo bs=1M count=1 seek=1000
# mke2fs foo
# mount foo /mnt
# debootstrap --foreign sid /mnt
# umount /mnt
# kvm -kernel /boot/vmlinuz-2.6.39-2-amd64 -initrd /boot/initrd.img-2.6.39-2-amd64 -append "root=/dev/sda rw init=/debootstrap/debootstrap --second-stage" -hda foo

and hit enter at the resume stage

Samuel



Reply to: