LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 05-12-2007, 07:47 PM   #1
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: Ubuntu 10.04
Posts: 442

Rep: Reputation: 31
Exclamation bootloader confusion? ... hdc sda ? what can i do?


Hi, i am installing ubuntu for a friend, a linux convert hopefull.... but i am having problems with setting up grub, i installed ununtu on the sda drive, grub was set to install to the default... but when i start the system brub does not load, windows does... there are two drives sda and hdc ... sda has the windows that is being loaded from what i understand... so the sda drive is partitioned into 4 1st = windows 2nd = data 3rd = swap and 4th = ubuntu.... when i have installed ubuntu in the past grub automatically installs and works... so what is wrong or what should i do?
 
Old 05-12-2007, 11:09 PM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 64
Clarify a few things:
  1. When you installed GRUB on sda, did you install it to the volume boot sector or the master boot sector?
  2. What’s on hdc?
  3. Can you boot your install from a GRUB floppy (or CD if you don’t have a floppy drive)?
  4. If so, have you tried installing GRUB from said floopy?
 
Old 05-13-2007, 04:50 PM   #3
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: Ubuntu 10.04
Posts: 442

Original Poster
Rep: Reputation: 31
answers
1- i don't know, (i think i want it on the master boot sector), but since i installed grub with the ubuntu installation, i didnt see that option, only the notification that it was going to hd0 i think... whatever ubuntu automatically does. (it has worked for me in the past with other computers)
2-hdc is an old hard drive, used for data, i think it used to have windows on it, it actually had a boot flag which i removed with gparted, (after installing ubuntu i removed the flag with live cd)...
3-i havent tried a grub floppy or cd, dont have one...

hope this will lead everyone on the right track, thanks for the help, as we continue discussing this.
 
Old 05-16-2007, 11:08 AM   #4
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: Ubuntu 10.04
Posts: 442

Original Poster
Rep: Reputation: 31
Question still wondering?

where can i get a grub disk, or how do i make a grub disk to boot from, how do i install grub, and how do i configure it? I have only used the default grub installations on fedora and ubuntu and modified from there... thanks...
 
Old 05-16-2007, 03:46 PM   #5
pixellany
Guru
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch+KDE
Posts: 16,552

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Quote:
Originally Posted by mitchell7man
where can i get a grub disk, or how do i make a grub disk to boot from, how do i install grub, and how do i configure it? I have only used the default grub installations on fedora and ubuntu and modified from there... thanks...
This may be useful: http://pixellany.com/boot.html

Setting up GRUB requires that you know how GRUB is seeing the drives---ie as hd0, hd1, etc.

Assuming that you have a live CD, you can do several things:
use dd and hexdump to verify where GRUB was actually placed
eg: dd if=/dev/hda bs=512 count=1|hexdump -C
(This dumps the mbr--if GRUB is there, you'll see the word "GRUB" somewhere around 0x180 or 0x190)

read and modify the /boot/grub/menu.lst (grub config file)

install GRUB to the OTHER MBR, if necessary---or to a floppy
 
Old 05-17-2007, 09:51 AM   #6
mitchell7man
Member
 
Registered: Jan 2007
Location: Provo, UT
Distribution: Ubuntu 10.04
Posts: 442

Original Poster
Rep: Reputation: 31
Thanks, for the link, and advice,... still deciding wether to try to put grub onto the Disk or a floppy... but we'll see. thanks.
 
  


Reply

Tags
boot loader, ubuntu, working


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 10:55 PM
Bootloader for gentoo on sda unknown-block mclinkor Linux - General 3 12-18-2006 08:19 PM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 09:53 AM
I need create bootloader. How make bootloader? swipple Fedora - Installation 3 01-23-2005 01:22 PM
mount USB devices, sda, manually/statically assign sda? Oxyacetylene Debian 3 12-20-2004 03:45 PM


All times are GMT -5. The time now is 01:54 PM.

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