LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-31-2008, 08:07 PM   #1
Cowboy7704
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Rep: Reputation: 0
Fixing Dual-boot Grub setup


I'm trying to troubleshoot my father's Dual boot system with him in Montana and me in Wisconsin, but from the sounds of it, he is no longer getting the GRUB menu up at all.

His setup is a Ubuntu 8.10 / Win XP dualboot. He does have access to a Ubuntu 8.10 disk, how can we rebuild the GRUB setup without replacing the who install?
 
Old 12-31-2008, 08:11 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
This should help you: http://www.howtogeek.com/howto/ubunt...-wipes-it-out/
 
Old 12-31-2008, 08:13 PM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If he can boot the disk, he should be able to use the grub-install script to do it for him

Have a look at man grub-install on your system to see how it works.

If you want more detailed responses, you really need to gvie more details on disk structure (fdisk -l), what's installed where, etc.

Good luck
 
Old 01-01-2009, 06:07 AM   #4
Cowboy7704
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Billy,

That's part of my problem is he can't boot the HD at all. The way he describes it the Bios is looping, Which makes me suspect it's not GRUB since you would normally get the "No bootable media" message, or some such. However I'm hesitent to have him take it to any local computer shops since I know they're just going to wipe the drive saying linux is the problem (they have twice already) and walking him through a remote install from 1000+ miles away is rather time consuming.
 
Old 01-01-2009, 06:14 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If he has a way of burning a disk have him or you can make a Super Grub disk and send it to him.

http://www.supergrubdisk.org/index.php?pid=5

Make sure cd is set to boot first in bios.
 
Old 01-01-2009, 06:23 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
No, I meant the Ubuntu disk, by which I assumed you meant a DVD/CD. Boot this into rescue mode. From there use grub-install.

Or wasn't that what you meant?
 
Old 01-01-2009, 06:40 AM   #7
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by billymayday View Post
No, I meant the Ubuntu disk, by which I assumed you meant a DVD/CD. Boot this into rescue mode. From there use grub-install.

Or wasn't that what you meant?
He does not have a ubuntu disk accroding to OP. I agree though the only way around this is sometype of linux disk or grub.

The reason I suggested grub is because of his fathers expertise level.
 
Old 01-01-2009, 07:40 AM   #8
Cowboy7704
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
actually he does have a Ubuntu 8.10 CD, so we'll give that a go, it's still early Mountain time, but I'll give him a jingle later, thanks for all the help

BTW does the grub-install auto detect which partition has which OS or do we need to do the fdisk -l
 
Old 01-01-2009, 09:59 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
I'd definitely recommend using fdisk -l so your sure about the partitions, especially considering you're 1,000 miles apart. Have him load the Ubuntu CD in the drive and go to a terminal. Enter the commands below after making necessary changes. Don't know which partitions are which and the below entries assume one drive and Ubuntu on sda2 so, make necessary changes. If you could get the output from him and post it, would be easier??


sudo grub
root (hd0,1)
setup (hd0)
quit
 
Old 01-01-2009, 10:40 AM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Doesn't ubuntu have a "Desktop sharing" application?

kubuntu certainly does (K->Internet->(krfb) Desktop sharing. )

If he can open ports 5900-5909 in his firewall and forward them to his PC's LAN IP (or if he has no firewall).
If his firewall is in his modem/router, he can do this from windows or ubuntu.

Suggestion:
- Have him boot to his ubuntu 8.10 live CD
If he is connected to his router by ethernet cable, ubuntu will automatically get him an internet connection. Wireless may cause problems.
- Have him go to http://whatismyip.com and make a note of his WAN IP number
- Have him allow desktop sharing in his GUI
- Have him tell you his IP number and desktop sharing password (krfb generates this for you, gnome must have something similar)

at your end, in a terminal
Code:
vncviewer  HIS.IP.NUM.BER:0
You'll be asked for the password.
He'll be asked if he wants to allow a remote connection (that's you, so he had better say YES).

His desktop opens in a new window on yours.
When you bring that window into focus, your keyboard's keypresses will be sent to his desktop, and your mouse will work like his.

Then you can poke around as much as you like to help solve his problem.
I do this all the time for family members running linux at remote locations. Petrol ("gas") is very expensive in my part of the world.
 
Old 01-01-2009, 02:38 PM   #11
Cowboy7704
LQ Newbie
 
Registered: Aug 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Yea I usually remote in with him, but since he has 4 machines (his wife has laptop and Desktop, he has laptop and Desktop) I use Hamachi along with VNC to remote control. I may just get onto one of the other machines on his network and then bounce in to the local machine with the CD in, hadn't thought of that way.

He's not at home yet so I haven't had a chance to try any of the suggestions put forth, I'll certainly update the thread when I do though.

Quote:
Originally Posted by tredegar View Post
Doesn't ubuntu have a "Desktop sharing" application?

kubuntu certainly does (K->Internet->(krfb) Desktop sharing. )

If he can open ports 5900-5909 in his firewall and forward them to his PC's LAN IP (or if he has no firewall).
If his firewall is in his modem/router, he can do this from windows or ubuntu.

Suggestion:
- Have him boot to his ubuntu 8.10 live CD
If he is connected to his router by ethernet cable, ubuntu will automatically get him an internet connection. Wireless may cause problems.
- Have him go to http://whatismyip.com and make a note of his WAN IP number
- Have him allow desktop sharing in his GUI
- Have him tell you his IP number and desktop sharing password (krfb generates this for you, gnome must have something similar)

at your end, in a terminal
Code:
vncviewer  HIS.IP.NUM.BER:0
You'll be asked for the password.
He'll be asked if he wants to allow a remote connection (that's you, so he had better say YES).

His desktop opens in a new window on yours.
When you bring that window into focus, your keyboard's keypresses will be sent to his desktop, and your mouse will work like his.

Then you can poke around as much as you like to help solve his problem.
I do this all the time for family members running linux at remote locations. Petrol ("gas") is very expensive in my part of the world.
 
Old 01-01-2009, 03:12 PM   #12
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by Larry Webb View Post
He does not have a ubuntu disk accroding to OP. I agree though the only way around this is sometype of linux disk or grub.

The reason I suggested grub is because of his fathers expertise level.
From original
Quote:
He does have access to a Ubuntu 8.10 disk
 
Old 01-01-2009, 03:42 PM   #13
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Yea I usually remote in with him,... [snip].. I use Hamachi along with VNC to remote control I may just get onto one of the other machines on his network and then bounce in to the local machine with the CD in, hadn't thought of that way.
Then that's the way to do it.
I think you already know how to sort this out.
So, please, just do it.

And let us know how you get on, because you asked for advice here.
 
  


Reply



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
Formatted my linux drive in a dual boot setup, now the GRUB loader hangs the system.. Dr_Horse Linux - General 4 12-04-2008 03:50 PM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 09:20 PM
Grub not listing WinXP in dual boot setup ronlon Fedora 1 09-05-2005 10:04 AM
Setup Dual boot with no grub but.... Hunter69 Fedora - Installation 1 03-03-2005 12:58 AM
grub setup to dual boot XP and RH9 eraaen Linux - Newbie 3 02-27-2004 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration