Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Grub bootloader

Jul 8, 2013 9:56PM PDT

Iam right on Ubuntu Live cd I had Window7 and Ubuntu 12.04 on my system,as i was going through Linux lesson my grub got deleted and iamnot able to recover, the code in linux lesson was

grub>setup (hd0,5)

After executing it i rebooted my system so now when my system start it shows

grub1.5 please wait ....
Error7

and its stop there,so i think i have lost my grub loader,as i was going through linux lesson before i also executed some command

grub>setup (hd0,1)
grub>setup (hd0,2)

Please help,Iam right now in Ubuntu live cd, i can't even access my Window7

Discussion is locked

- Collapse -
I had a similar problem with Mint Linux & reinstalled
Jul 8, 2013 10:25PM PDT

It doesn't take but a couple of minutes to reinstall Ubuntu, so I'd try that. When I had a similar problem with Mint Linux, I reinstalled it and both Windows 7 and Linux came back and worked. I got into my problem by trying to resize a partition I thought had nothing to do with either OS, but when Linux is installed, you can't resize anything.
`
Good luck.

- Collapse -
Ubuntu reinstalled but window7 can't be reinstall
Jul 9, 2013 1:28AM PDT

Thanks for you're Reply
As you said i reinstall Ubutnu and my grub loader came up but it only show window7 recovery option there is no option for window 7 and i don't have a backup so i started to reinstal window7 with my Window7 CD but now i cannot reinstall it.After reboot grub is being loaded my window7 cd setup is not started,Please help me with reinstalling Window7 and also i know that after Window7 installed ,my grub will be lost please also guide me to recover it After Window7 installation

- Collapse -
Reinstall Windows first
Jul 10, 2013 4:30AM PDT

and THEN install the Linux. Can you get into Linux now, or boot from the Live CD? If so, run

sudo parted -l

in terminal where l is the small L, not the numeral one. Post the results here.

An additional is to run in terminal

inxi -v 3

and post the results.