Martin Miehe wrote:

> Result of "dd if=/dev/hda of=disk.img bs=1M count=1" is difficult to
> get out of the LFS LiveCD 6.2.5 system without a place where to copy
> it, i.e. getting access to partitions on HDD.

You can probably get access to the first (hidden fat16) partition with this 
command:

mount -t vfat -o loop,offset=32256 /dev/hda1 /mnt

but please don't write there directly (because the beginning of this partition 
is also to be included in the image). Please do this:

dd if=/dev/hda of=/root/hda.img bs=1M count=1
mount -t vfat -o loop,offset=32256 /dev/hda1 /mnt
cp /root/hda.img /mnt
umount /mnt

And BTW, the remap63 option will be removed from future kernels - and testing 
of the alternative (initramfs-based) solution is not possible without your 
help.

For debugging of the original "can't see partitions" issue, please boot 6.3 
from the CD with load=ide-generic, and with/without remap63, and post both 
results of fdisk -l /dev/hda and "lsmod" from there.

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to