Re: Gap prior to /dev/sda3
Bruno Cornec <[email protected]>
| Newsgroups | gmane.linux.mondo.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, Faustino Nebrera said on Mon, Aug 28, 2017 at 11:59:41AM +0200: >I'm trying to restore a mondoarchive created iso image of a Centos 6 box >into a VirtualBox VM. I allways end with the error "Gap prior to /dev/sda.". Indeed you have diffs at restore time. >Disco /dev/sda: 299.4 GB, 299439751168 bytes >255 heads, 63 sectors/track, 36404 cylinders >Units = cilindros of 16065 * 512 = 8225280 bytes >Sector size (logical/physical): 512 bytes / 512 bytes >I/O size (minimum/optimal): 512 bytes / 512 bytes >Disk identifier: 0xdad54d24 > > > >Disposit. Inicio Comienzo Fin Bloques Id Sistema >/dev/sda1 1 5 32812 de Utilidad Dell >La partici?n 1 no termina en un l?mite de cilindro. >/dev/sda2 * 5 266 2097152 b W95 FAT32 >La partici?n 2 no termina en un l?mite de cilindro. >/dev/sda3 266 4345 32768000 83 Linux >/dev/sda4 4345 36405 257522688 5 Extendida >/dev/sda5 4345 8425 32768000 82 Linux swap / Solaris >/dev/sda6 8425 36405 224752640 83 Linux Your restored fdisk gives: Disk /dev/sda: 26.8 GB, 26843545600 bytes 255 heads, 63 sectors/track, 3263 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xde0eac79 Device Boot Start End Blocks Id System /dev/sda1 1 5 40131 83 Linux /dev/sda2 6 10 40162+ 83 Linux /dev/sda3 11 1578 12594960 83 Linux /dev/sda4 1579 1947 2963992+ 83 Linux mondorestore doesn't use the same number for end and start compared to your original fdisk. Which explains the "gaps" mentioned. and that may also come from roundings due to the dfference of size. You can always boot with nopart and do the partioning yourself. (Cf: http://trac.mondorescue.org/browser/tags/3.2.2/mindi/README.bootparam) Bruno. -- HPE EMEA EG FLOSS Technology Strategist http://www.hpe.com/engage/opensource Open Source Profession, WW Linux Community Lead http://github.com/bcornec FLOSS projects: http://mondorescue.org http://project-builder.org Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot