DIGIT-ARC read-only archive · snapshot: July 23, 2026

Linux recovering

5 posts · originally from https://geek.digit.in/community/threads/linux-recovering.149138/

S
subhransu123 Original post #1
Nov 23, 2011 at 8:46 PM
I installed ubuntu 11.04.first. But after that i installed win 7 ultimate 32 bit.so linux is removed from boot option so how to recover linux in bootin option such that linux and windows both appear in boot option.......pls help.......
nims11
nims11 #2
Nov 23, 2011 at 9:57 PM
boot from a ubuntu LiveCD and in terminal type (i assume you havent separately made a partition to mount /boot into):
sudo fdisk -l to identify the device name of your linux partition. usually it is /dev/sdax where x is a number.
sudo mount /dev/sdax /mnt (replace x with the number you identified from fdisk -l)
sudo grub-install --boot-directory=/mnt/boot /dev/sda (note that it is only /dev/sda)
reboot and now you will be able to get into your installed ubuntu. in ubuntu, goto terminal and type
sudo update-grub

NOTE: it might be hda or anything else instead of sda
JojoTheDragon
Nov 23, 2011 at 10:17 PM
Easier method:

Use EasyBCD and get it done within a jiffy. :D
S
Nov 30, 2011 at 7:25 AM
How to enter into theterminal mode.i selected the option try ubuntu without installation and after entering i typed the first command and i got the list of drives but after second command it showed that "mount :can't found sda8(linux installed)in /etc/fstab or /etc/mtab.so please help.....my project work is in linux..........
nims11
nims11 #5
Nov 30, 2011 at 9:46 AM
post the screenshot of the terminal window with these commands executed.
or better, try EasyBCD as Jojo said.