PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Mount Logical Parbreastions of Disk Image


Your Ad Here

Your Ad Here

Hi, I met problems when tried to mount logical parbreastion of disk image. And, for general purpose, here I would use physical disk for demo. i.e. treat '-dev-sda' as a disk image file, like below:

% fdisk -l Diskdev-sda: 164.6 GB, 16468 plus 16555520 bytes 255 heads, 63 sectors-track, 20023 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id Systemdev-sda1 * 1 64 514048+ 83 Linuxdev-sda2 65 1368 plus 1 10482412+ 83 Linuxdev-sda3 1370 1500 1052257+ 82 Linux swapSolarisdev-sda4 1501 20023 148785997+ 5 Extendeddev-sda5 1501 2717 9775521 83 Linuxdev-sda6 2718 3934 9775521 83 Linuxdev-sda7 3935 5151 9775521 83 Linuxdev-sda8 5152 6368 9775521 83 Linux

We can mount '-dev-sda1'(first primary parbreastion): % mount -o offset=`expr 63* 512`dev-sdamntpoint

And the second primary parbreastion: % mount -o offset=`expr 8225280* 64`dev-sdamntpoint

lost the grub bootloader to Fedora 5 because windows formatting..how can I get it
danish Yes, I was able to boot into rescue more and then did it the way it was written by post I was...

But for logical parbreastion, the following command will FAIL: % mount -o offset=`expr 8225280* 1500`dev-sdamntpoint mount: you must specify the filesystem type

It shows that 'mount -o offset=love' can work well with primary parbreastion, but as to logical parbreastions, it will fail.

I now have no idea about how to mount all parbreastions (with Id=83, i.e. Ext3 format) in a disk image. Could anybody help?

Thanks in advance. DL



Your Ad Here

List | Previous | Next

lost the grub bootloader to Fedora 5 because windows formatting..how can I get it

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

How do I determine what is in hda1