Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Partition Questions

Posted on 2011-09-28
6
Medium Priority
?
361 Views
Last Modified: 2016-02-10
Hi

I have image of hard drive and there are some problem with partitions structure

after i run fdisk command i got these errors:

You must set cylinders.
Partition 1 has different physical/logical endings:
Partition 1 does not end on cylinder boundary.
Partition 3 has different physical/logical beginnings (non-Linux?):
Partition 3 has different physical/logical endings:
Partition 3 does not end on cylinder boundary
========================
what is the difference between logical and physical ? is there any command to check physical and logical order of hard-drive?
what are reasons that cause all these error's ?

thanks
0
Comment
Question by:ang3lus
  • 3
  • 2
6 Comments
 
LVL 21

Expert Comment

by:Papertrip
ID: 36813093
what is the difference between logical and physical ?
In this scenario, physical is the actual disk/partition -- what your system would see if there was no virtual disks/partitions.  Virtual is something created to simulate a physical disk/partition which uses some virtualization layer to "fool" the operating system and/or applications into thinking it is physical.  That isn't the scientific explanation of course.  It also depends on what you referring to as being physical vs. virtual.

Paste output of what you are trying to do via fdisk.  The more you show us about what you are doing, the faster this will go.
0
 

Author Comment

by:ang3lus
ID: 36813105
<>The output of fdisk :<>
You must set cylinders.
You can do this from the extra functions menu.

Disk hard1.img: 0 MB, 0 bytes
255 heads, 63 sectors/track, 0 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: 0xa8a8a8a8

         Device Boot      Start         End      Blocks   Id  System
hard1.img1   *           1          71      564192+   7  HPFS/NTFS
Partition 1 has different physical/logical endings:
     phys=(1023, 7, 55) logical=(70, 61, 55)
Partition 1 does not end on cylinder boundary.
hard1.img2              81         118      305235   83  Linux
hard1.img3             119         130       91728   a5  FreeBSD
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 255, 63) logical=(118, 118, 1)
Partition 3 has different physical/logical endings:
     phys=(1023, 15, 63) logical=(129, 224, 63)
Partition 3 does not end on cylinder boundary.

<>The output of disktype :<>
--- hard1.img
Regular file, size 1 GiB (1073741824 bytes)
DOS/MBR partition map
Partition 1: 551.0 MiB (577733120 bytes, 1128385 sectors from 63, bootable)
  Type 0x07 (HPFS/NTFS)
  Windows NTLDR boot loader
  NTFS file system
    Volume size 551.0 MiB (577731584 bytes, 1128382 sectors)
Partition 2: 298.1 MiB (312560640 bytes, 610470 sectors from 1285200)
  Type 0x83 (Linux)
  Ext2 file system
    UUID D05E2B11-F803-4D00-A7AE-8901B96F69DF (DCE, v4)
    Volume size 298.1 MiB (312557568 bytes, 305232 blocks of 1 KiB)
Partition 3: 89.58 MiB (93929472 bytes, 183456 sectors from 1903104)
  Type 0xA5 (FreeBSD)
  FreeBSD boot loader (i386 boot1 at sector 0)
  FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
  BSD disklabel (at sector 1), 8 partitions
  Partition c: 89.54568 MiB (93929472 bytes, 183456 sectors from 1903104)
    Type 7 (4.2BSD fast file system)
    Includes the disklabel and boot code
    UFS2 file system, 64 KiB offset, little-endian

============
from output of disktye command
FreeBSD boot loader (i386 boot1 at sector 0)
FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2)
does mean that system boot from freebsd partition?
why there are two boot loaders? what the differences between them?
Windows just has one one which is NTLDR boot loader>
0
 
LVL 8

Accepted Solution

by:
PeteEngineer earned 1500 total points
ID: 36813107
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 21

Expert Comment

by:Papertrip
ID: 36813113
What are you trying to accomplish?
0
 

Author Comment

by:ang3lus
ID: 36813123
i would like to know the reasons of these errors ? and how to fix them ?
0
 

Author Closing Comment

by:ang3lus
ID: 36898788
It little help
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question