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

Re: cd 6.0.1 mount problem fromhd



Charles Evans schrieb:
On Monday 13 April 2009 06:08:05 pm Bernd Bleßmann wrote:
Hi everyone,

I tried to copy the whole CD 6.0.1 to a hard disk partition an use the
fromhd boot option, but it didn't work (it could not mount the given
partition, tried all other ones and dropped me to the debug shell).

I looked into the init in the minitrt an found out, that the "-o"
parameter to the mount command for reiserfs, ext3 and ext2 in trymount()
was missing.

Attached is a patch - I hope it is helpfull.

Thank you and greetings,
   Bernd

Have you seen a script to unpack and repack the minirt.gz? I would like to use your patch but I still don't grok the new cpio format.
Thanks
Charles



Hi Charles,

I use the following steps:
to extract:
 $ gunzip -c /media/sda5/boot/isolinux/minirt.gz > /tmp/minirt
 $ mkdir /tmp/miniroot
 $ cd /tmp/miniroot
 $ cpio -ivmd --no-absolute-filenames -I /tmp/minirt

miniroot fs is now in /tmp/miniroot

to repack:
 $ cd /tmp/miniroot
 $ find . | cpio -o -H newc > /tmp/minirt.new
 $ gzip -9 -c /tmp/minirt.new > /media/sda5/boot/isolinux/minirt.gz


Hope it helps. Greetings,
  Bernd


Reply to: