LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2009, 04:18 PM   #16
fishwater00
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Rep: Reputation: 0

learn lots
 
Old 10-05-2009, 04:40 PM   #17
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
It is simple once you get the routine down, the hardest part for me was making the menu.lst. This would not have been hard if Saikee had put it in brackets and bold print telling me to make a boot directory and a boot/grub directory to put the menu.lst. Thanks for catching my typo in my prior post Saikee.
 
Old 10-05-2009, 05:03 PM   #18
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
The reason I say Grub is simple because the commands in menu.lst is what we can use manually to boot a system.

Therefore in a Grub prompt if one wants Linux in (hd0,4) chainloadable the commands are
Code:
root (hd0,4)
setup (hd0,4)
one can fire it immediately by commands
Code:
chainloader +1
boot
Also even if a Linux hasn't been made chainloadable it can always by booted by commands
Code:
root (hd0,4)
configfile /boot/grub/menu.lst
The command set from a Grub prompt is good enough to fire up any Linux even it has no boot loader inside!

I always maintained if there is something difficult in Linux it cannot be its boot loaders.

Last edited by saikee; 10-05-2009 at 05:05 PM.
 
Old 10-07-2009, 03:16 PM   #19
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
Cool

I have only just the one Linux partition boot sector not fully allowing the grub to install there, my Ubuntu 9.04 on sda5, (hd1,4), but I have no problem to chainload all other Linux and windows XP too. It says stage 1 and 2 succeed, but stage 1.5 install fails, (this may not be fatal). And when I attempt to chainload to that (hd1,4) it gives grub error 12, which is "Invalid device requested", then if I try with the map commands, it will give error 13. But I can boot it normal method fine, so thanks.
 
Old 10-07-2009, 03:20 PM   #20
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 ubuntu is listed as sda5 you should be trying

root (hd0,4)

sda would be the first hd seen and there for would be (hd0)

sdb would be the second hd and would be (hd1)

Last edited by Larry Webb; 10-07-2009 at 03:22 PM.
 
Old 10-08-2009, 09:07 PM   #21
james2b
Member
 
Registered: Feb 2007
Location: Washington state, USA
Distribution: Ubuntu Mate 18.04, Mint 19.1
Posts: 360

Original Poster
Rep: Reputation: 45
Smile

From a grub prompt I ran; "geometry (hd0)" which shows all my partitions on the internal IDE hard drive, which from fdisk -l, is seen as; sdb. And that external sata drive shows from the; "geometry (hd1)", and when it is connected by eSATA, is as; sda, as shown in a fdisk -l. So each Linux will view drives in their own way, but most are consistent.
 
  


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
GRUB stage 1.5 on partition boot sector ? Vilius Linux - Software 1 03-02-2009 04:54 PM
Reinstalled Win XP and repaired Grub, now I can't boot Linux or Windows. Please help. MegaSvensk Linux - Newbie 27 10-13-2007 05:12 PM
help on installing grub on first sector of /boot kirtikjr Linux - Software 1 06-27-2007 04:16 PM
How to grub-install to the 1st sector of /boot? subaruwrx Linux - General 2 09-23-2004 01:52 PM
Install Grub/Lilo at the First Sector of the Boot Partition?? ckamheng Linux - General 2 08-21-2004 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 PM.

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