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

Re: Re: Re: installing from iso on partition to another partition, avoiding all access to usb



Hey Brian,

> I did this, although usually I extract only the kernel and the initrd.

In that case you need an initrd with the loop module added, I tried to
keep this as simple as possible.

> I didn't expect this to work and indeed it didn't. My understanding is
> that an ext* module is not available in the installer at this stage of
> the install. 'cat /proc/filesystems' shows only the expected vfat and
> iso9660 filesystems.

Of course you're right, I didn't think of that :(

As I said, I had hoped to avoid having to build a custom initrd, but in
this case there's no way around that.

@everyone not using a vfat partition:

I have a readymade initrd with support for loop, ext*, reiser and xfs
uploaded here: http://netload.in/dateirtpHKyDfSS/initrd.gz.htm

(md5sum is 7bafb08e52f5335a58dd2868a3e77066)

you need to replace your debian_iso/install.amd/initrd.gz with this one.

Before you can mount i.e. an ext4 filesystem, you need to

# modprobe ext4

That should be it.

----

If you don't trust me, you can create your own using the method I
described in http://lists.debian.org/debian-user/2013/05/msg00395.html

You will need most of these:

echo './lib/modules/3.2.0-4-amd64/kernel/fs/xfs
./lib/modules/3.2.0-4-amd64/kernel/fs/xfs/xfs.ko
./lib/modules/3.2.0-4-amd64/kernel/fs/ext2
./lib/modules/3.2.0-4-amd64/kernel/fs/ext2/ext2.ko
./lib/modules/3.2.0-4-amd64/kernel/fs/ext3
./lib/modules/3.2.0-4-amd64/kernel/fs/ext3/ext3.ko
./lib/modules/3.2.0-4-amd64/kernel/fs/ext4
./lib/modules/3.2.0-4-amd64/kernel/fs/ext4/ext4.ko
./lib/modules/3.2.0-4-amd64/kernel/fs/jbd
./lib/modules/3.2.0-4-amd64/kernel/fs/jbd/jbd.ko
./lib/modules/3.2.0-4-amd64/kernel/fs/jbd2
./lib/modules/3.2.0-4-amd64/kernel/fs/jbd2/jbd2.ko
./lib/modules/3.2.0-4-amd64/kernel/fs/reiserfs
./lib/modules/3.2.0-4-amd64/kernel/fs/reiserfs/reiserfs.ko
./lib/modules/3.2.0-4-amd64/kernel/drivers/block/loop.ko
./lib/modules/3.2.0-4-amd64/kernel/lib
./lib/modules/3.2.0-4-amd64/kernel/lib/crc16.ko'|cpio -o -H newc -A -F initrd




Reply to: