Solved

Partition Questions

Posted on 2011-09-28
6
343 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 500 total points
ID: 36813107
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now