[ubuntu-us-mn] Fwd: fdisk -l

Thomas Rieff trieff at greencaremankato.com
Sat Nov 27 04:26:42 GMT 2010


I was updating some things on my laptop and it would not bring a login screen back up.
I can get back into it with a livecd. Did a fdisk -l and got the following. Tried to re-install grub but no luck.
My concern is the partitions sda2 and sda5 cover the same area in the hard drive.
Any ideas???
Tom

ubuntu at ubuntu:~$ sudo fdisk -l 

Disk /dev/sda: 30.0 GB, 30005821440 bytes 
255 heads, 63 sectors/track, 3648 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: 0x9e239e23 

Device Boot Start End Blocks Id System 
/dev/sda1 * 1 2295 18434556 7 HPFS/NTFS 
/dev/sda2 2296 3648 10867942 5 Extended 
/dev/sda5 2296 3584 10353861 83 Linux 
/dev/sda6 3585 3648 514048+ 82 Linux swap / Solaris 
ubuntu at ubuntu:~$ sudo mount /dev/sda5 /mnt 
ubuntu at ubuntu:~$ sudo grub-install --root-directory=/mnt/ /dev/sd5 
/usr/sbin/grub-probe: error: cannot stat `/dev/sd5'. 
Invalid device `/dev/sd5'. 



More information about the ubuntu-us-mn mailing list