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

Re: UML and installing sarge from iso [SOLVED]



Hi,

as i expected and as Alexei correctly pointed out, the problem is solved when including the modules from the uml kernel into the initrd. As it can be usefull to other people that want to adjust the contents of an initrd, here's what i did:

cp /var/local/uml/initrd.gz /tmp
cd /tmp
mkdir src
mkdir des
gunzip initrd.gz
mount -o loop initrd src

dd if=/dev/zero of=myinitrd bs=1M count=16
mke2fs myinitrd
mount -o loop initrd des

cp -a src/* des
umount src

mount -o loop /var/local/uml/rootfs src
mkdir des/lib/modules/2.6.9-skas3-v7
cp -a src/lib/modules/2.6.9-skas3-v7/* des/lib/modules/2.6.9-skas3-v7

umount src
umount dev

gzip myinitrd
cp myinitrd.gz /var/local/uml

Then boot with the same vmlinux line and when the installer fails to detect the cdrom, specify /dev/ubd/2

Regards,
Benedict

--
Benedict Verheyen                   Debian User
http://www.heimdall.be              Public Key 0x712CBB8D



Reply to: