LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-17-2005, 03:30 PM   #1
iGoo
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
beyond my knowledge


Hello here's my situtation

/dev/hda1 is /boot
/dev/hda2 is /

/dev/hdb3 is /mnt/secondboot

i have all my files from the original /boot partition on the /dev/hdb3 (the technical details behind that i've overcome.)

what i need to do is create a GRUB entry that will enable me to boot from the secondboot partition (/dev/hdb3)

I really have no idea how what the grub entry should do / look like.

could sumone shed a little bit of light on this for me?

thanks
 
Old 02-17-2005, 04:54 PM   #2
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
Hi.

Give this a go. Obviously change the title and initrd.img and vmlinuz files accordingly.

*******************************************
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz

title Gentoo Linux (2.6.10-6)
root (hd0,0)
kernel /vmlinuz-2.6.10-6 ro root=LABEL=/
initrd /initrd-2.6.10-6.img


This is what you could put as your second entry....

title 2nd boot partition (2.6.10-6)
root (hd1,2)
kernel /vmlinuz-2.6.10-6 ro root=LABEL=/
initrd /initrd-2.6.10-6.img
******************************************

Make sure you change the file names I mentioned earlier. Also don't touch the first entry that is already in there.

Good luck
Craig
 
Old 02-17-2005, 05:03 PM   #3
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 33
I'm not sure if you can do that--let us know if it works. Doesn't the boot part have to be in a certain part of the disk, like in between the 1 and 124 sector or something like that?
 
Old 02-18-2005, 06:12 AM   #4
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
Quote:
Originally posted by Optimistic
I'm not sure if you can do that--let us know if it works. Doesn't the boot part have to be in a certain part of the disk, like in between the 1 and 124 sector or something like that?
Only if you're time traveling to the mid 90's. The 1024 limit wasn't really a limit, it was more of an annoyance, even then, mostly for those who were using 486/Pentium I boxes, and there were hackish ways around it, so for most Linux geek types (which was the norm back then), it wasn't really a problem.

For anyone today, using a 233 MHz or better machine (probably less, but then you get into murky water with cheapy kits) and a modern Linux distribution (anything since 1997), you should be in good shape. The 1024 "problem" still floats around in MS FUD land, but then again, most of those folks still think Linux is command line only and don't realize Linux has a number of GUIs that put MS Windows to shame.
 
Old 02-19-2005, 10:29 AM   #5
iGoo
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Perfect it worked. Only thing that the grub.conf file did not like was the initrd line. I removed it from the config file and it booted off the second boot partition no problem at all

Thanks alot guys i really appreciate the help. I'll be around these fourms doing what i can for others.

thanks again
 
Old 02-19-2005, 11:48 AM   #6
Optimistic
Member
 
Registered: Jun 2004
Location: Germany
Distribution: Debian (testing)
Posts: 276

Rep: Reputation: 33
Cool. Thanks for the info Scott. I'll keep it in mind in case I get a time machine for my birthday
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Thirst for knowledge Draiocht General 9 10-12-2005 07:00 PM
need help with general knowledge jazzon Linux - Newbie 6 05-16-2004 12:46 AM
cahsing the knowledge alaios Linux - Networking 1 03-31-2004 11:05 AM
Asking the S.O.A.K (Source of all Knowledge) joshnya Linux - Hardware 0 10-17-2003 11:44 AM
Getting practical knowledge? (C++) oot Programming 2 01-19-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:21 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