You are not logged in.
Pages: 1
i have lost my grub boot loader after windows 7 install , here is how my hard drive looks
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6565 52733331 7 HPFS/NTFS
/dev/sda2 6566 19250 101892262+ b W95 FAT32
/dev/sda3 19251 60801 333758407+ 5 Extended
/dev/sda5 19251 21290 16386268+ 83 Linux
/dev/sda6 21291 22205 7349706 83 Linux
/dev/sda7 22206 22221 128488+ 83 Linux
/dev/sda8 22222 22489 2152678+ 82 Linux swap / Solaris
/dev/sda9 22490 60801 307741108+ 83 Linux
/sda5 is root
/sda6 is VAR
/sda7 is boot
/sda1 and /sda2 are primary rest are extended ..how can i reinstall grub? I have ubuntu 8.10 live cd
thanks
P.S find /boot/grub/stage1 does not work, i am out of ideas
Last edited by venky80 (2009-07-11 03:29:05)
Acer Aspire V5-573P Antergos KDE
Offline
Are you using ext4 for your boot partition? If so you need to have a livecd that has grub patched for that (like the latest arch livecd).
Otherwise just use any livecd (like the Ubuntu one) and run as root:
grub
root (hd0,6)
setup (hd0)
quit
Reboot and it should be good. You'll also want to modify your /boot/grub/menu.lst to boot windows after, but that should get your linux back up.
Madly in love with Arch64, Openbox, DotA, and of course... penguins!
Happy to help if you're not a Help Vampire. Use your wonderful resources like ArchWiki, Google, and our wonderful search page.
Offline
Are you using ext4 for your boot partition? If so you need to have a livecd that has grub patched for that (like the latest arch livecd).
Otherwise just use any livecd (like the Ubuntu one) and run as root:
grub
root (hd0,6)
setup (hd0)
quitReboot and it should be good. You'll also want to modify your /boot/grub/menu.lst to boot windows after, but that should get your linux back up.
/boot is ext2 rest all linux partition are ext4
Acer Aspire V5-573P Antergos KDE
Offline
Offline
Pages: 1