Re: how not to initialize HD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Cartwright <ale <at> pcartwright.com> writes:

> 
> On Sat July 31 2010, JB wrote:
> > # cfdisk -Ps
> > FATAL ERROR: Bad primary partition 2: Partition ends in the final partial
> > cylinder
> >
> > That's the one making trouble, and you indicated we can get rid of it now).
> > ...
> > /dev/sda2            4463        4717     2048287+   e  W95 FAT16 (LBA)
> > ...
Paul,
we will delete that sda2 partition with fdisk utility.
Please do it slowly, you should be OK ...

Execute as below and fill in command m for help and hit Enter
# fdisk /dev/sda
WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): m

You will get this. Get acquainted. Then input p on command line and hit Enter

Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): p 

NOTE: If you get lost for any reason, on the command line input
      q   quit without saving changes
      and restart again as instructed here.
Now you will get this. Input command d to delete a partition and hit Enter.

Disk /dev/sda: 100.0 GB, 100030242816 bytes
255 heads, 63 sectors/track, 12161 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
/dev/sda1   *           1        4462    35840983+   7  HPFS/NTFS
/dev/sda2            4463        4717     2048287+   e  W95 FAT16 (LBA)
/dev/sda3            4718       12162    59793409    5  Extended
Partition 3 does not end on cylinder boundary.
/dev/sda5            4718        5961     9989120   83  Linux
/dev/sda6            5962        8094    17133291   83  Linux
/dev/sda7           11919       12162     1951744   82  Linux swap / Solaris
/dev/sda8            8095       11918    30716248+   c  W95 FAT32 (LBA)

Command (m for help): d

You will get this. Input 2 (for /dev/sda2) and hit Enter.

Partition number (1-6): 2

You will get this. Input w to write changes and exit, and hit Enter.

Command (m for help): w

Now get me display of your new disk layout (note that your partition numbers
may have changed by -1). This is your new layout (forget the old data !!!).
# fdisk -l
 
Can you do this now ? If so, give me the display. 
# cfdisk -Ps

In any case, reboot your system to make sure the new partition table was
filed.
Return to your Linux again and your terminal.
Check again and tell me what works (give me displays).
# fdisk -l
# cfdisk -Ps

By the way, there was a post from Robert Nichols regarding my concerns and
that will be addressed later on by me.
JB




-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux