LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-02-2008, 12:32 PM   #1
monkeybritt
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Rep: Reputation: 0
dual boot vista and ubuntu, lost after changes to vista


i dual boot vista and ubuntu, i run ubuntu of a usb harddrive. a while back i made some changes to vista and when i restarted my dual boot screen did not come up. i looked for answers couldnt find any and just reinstalled ubuntu. i now have a back up of grub file but i need to know how i can fix this if it happens again. i saw something like this

grub
root (hd0,0)
setup (hd0)
exit

but that did not work for me because the hd i use for ubuntu is usb and i dont know the directory for it. what to do?
 
Old 12-02-2008, 01:21 PM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Run the command as root in a terminal fdisk -l {l lower case} and see if it come up the partitions of both the drives
If so than you know in the future where to reinstall GRUB
 
Old 12-02-2008, 02:13 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
Check your bios settings. Is the usb drive before the internal drive in the boot order?
 
Old 12-02-2008, 03:49 PM   #4
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
The real problem was likely that Vista changed the MBR to link to Vista and not to GRUB. Reinstalling GRUB likely fixed it because it would have to create a new MBR. Backing up GRUB and restoring would not restore the MBR.
 
Old 12-04-2008, 11:23 AM   #5
monkeybritt
LQ Newbie
 
Registered: Dec 2008
Posts: 2

Original Poster
Rep: Reputation: 0
the usb drive is after the main drive in the boot menu
i did not think that backing up grub would restore the mbr
when i go into fdisk how do i use what i find? my usb dive shows up as sda1 or something could someone give me an example of the grub command that would fix it? with the hd being the usb disk? thanks alot thought i will have to comment that ubuntu forums are a close knit community and soon i will be departing mostly from vistas glammerized junk that makes everything else not work. long live the penguin
 
Old 12-04-2008, 02:16 PM   #6
koen plessers
Member
 
Registered: Aug 2003
Location: Belgium
Distribution: Mint
Posts: 191

Rep: Reputation: 30
Hello

I use EasyBCD to dual boot Vista and Ubuntu: http://neosmart.net/dl.php?id=1

Have a lot of fun

Koen Plessers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I remove vista from a ubuntu / vista dual boot! TheOneSYM Linux - Newbie 10 04-01-2010 01:21 PM
New install on vista system, want dual boot for vista and fedora. lhelden Linux - Newbie 9 08-21-2008 10:22 AM
Fedora and Vista Dual Boot (vista installed first) firekid1239 Linux - Newbie 10 05-04-2008 09:35 PM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 07:21 PM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration