Quantcast
Channel: FedoraForum.org
Viewing all articles
Browse latest Browse all 36447

Reinstall GRUB

$
0
0
I have both windows and linux run on same machine. In Windows, when I set parition C to main boot, I cannot use GRUB anymore. So, I decide to reinstall GRUB.

But, when I use Fedora live CD to boot. I don't see previous Linux parition. I juse see Windows partition. So, I don't know how to mount linux partition to install GRUB.

Here is the output of command:

Code:

su -c "/sbin/fdisk -l /dev/sd?"
Code:

Device Boot      Start        End      Blocks  Id  System
/dev/sda1  *          63  188747684    94373811    7  HPFS/NTFS/exFAT
/dev/sda2      188747685  976768064  394010190    f  W95 Ext'd (LBA)
/dev/sda5      251674353  566259119  157292383+  7  HPFS/NTFS/exFAT
/dev/sda6      566259183  976768064  205254441    7  HPFS/NTFS/exFAT

As you see, maybe sda2 is the linux partition. So, I use this command:

Code:

mount -t ext4 /dev/sda2 /mnt
Quote:

mount: wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I don't know does sda2 is real linux partition or not. (it doesn't appear partition size, so I cannot know). but if this true, I'm pretty sure the partition is format in ext4.

Please help me.

Thanks :)

Viewing all articles
Browse latest Browse all 36447

Trending Articles