how not to initialize HD

Paul Cartwright ale at pcartwright.com
Sat Jul 31 15:08:25 UTC 2010


On Sat July 31 2010, JB wrote:
>   #  <------------------ not the root prompt !
> - give us the output (please do not cut/edit it; do not tell us that it
> said something ...; just copy and paste it for us, whatever it is !) #
> fdisk -l
>   # fdisk -l /dev/sda
>   # cfdisk -Ps
> - can you see a disply ?
>   # cfdisk
>   If so, just move cursor and hit Quit in menu
>   If not, give copy the answer for us as above (even if only your bash
> prompts. - output of your /etc/fstab
>   # cat /etc/fstab

oh my..
# fdisk -l

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)

# cfdisk -Ps
FATAL ERROR: Bad primary partition 2: Partition ends in the final partial 
cylinder

cat /etc/fstab
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda5 during installation
UUID=c2b10e6e-41fc-4fbd-bb7c-1a1974eaafd3 /               ext4    
errors=remount-ro 0       1
# /home was on /dev/sda6 during installation
UUID=40436719-5fde-4f48-93f2-49457f0e1264 /home           ext4    defaults        
0       2
# swap was on /dev/sda7 during installation
UUID=03344fb4-f605-4675-92b9-090a48e88d0b none            swap    sw              
0       0



-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459
http://usdebtclock.org/


More information about the users mailing list