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

Steve McGrath smcgrath23 at gmail.com
Sat Nov 27 04:43:40 GMT 2010


Ok, the reason for the overlap is that sda2 is an extended partition which contains logical partitions sda5 and 6. That part's fine.

In your grub-install command below, you're specifying sd5 instead of sda5

-Steve
Sent from my BlackBerry®

-----Original Message-----
From: Thomas Rieff <trieff at greencaremankato.com>
Sender: ubuntu-us-mn-bounces at lists.ubuntu.com
Date: Fri, 26 Nov 2010 22:26:42 
To: Ubuntu-US-MN<ubuntu-us-mn at lists.ubuntu.com>
Reply-To: Ubuntu Minnesota Local Community Team <ubuntu-us-mn at lists.ubuntu.com>
Subject: [ubuntu-us-mn] Fwd: fdisk -l

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'. 

-- 
ubuntu-us-mn mailing list
ubuntu-us-mn at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-mn


More information about the ubuntu-us-mn mailing list