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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-12-2005, 06:23 PM
|
#1
|
LQ Newbie
Registered: Aug 2005
Posts: 7
Rep:
|
dual boot xp/gentoo (selecting boot for each partition)
Dualboot gentoo and winxp pro
Using
I get
Code:
Command (m for help): p
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 3590 28836643+ 7 HPFS/NTFS
/dev/hda2 3591 3604 112455 83 Linux
/dev/hda3 3605 3671 538177+ 82 Linux swap / Solaris
/dev/hda4 3672 4864 9582772+ 83 Linux
for my partitions.
My question is, do I have the "*" in the correct place by placing it next to hda1 (windows XP), or should it be next to hda2 (linux boot)?
I am going to be using GRUB as my bootloader.
Here is the grub code:
Code:
default 1
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11-r3
root (hd0,1)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/hda4
title=Windows XP Professional
rootnoverify (hd0,0)
makeactive
chainloader +1
|
|
|
08-12-2005, 06:39 PM
|
#2
|
LQ Newbie
Registered: Aug 2005
Posts: 7
Original Poster
Rep:
|
just want to know if hda1 should be set to boot, or hda2....
|
|
|
08-12-2005, 07:14 PM
|
#3
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
i don't think the * matters too much but if have a look at your grub config, it's looking for the splash image /dev/hda1 (hd0,0) when it's actually in your boot partition which is /dev/hda2 or (hd0,1).
Also, after kernel you need to specify where you real root(/) partition is eg.
Code:
kernel /kernel-2.6.11-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4
*edit* just noticed that you do have the root thing, but i'll leave it there anyway :P
Last edited by 0pal_t0ad; 08-12-2005 at 07:17 PM.
|
|
|
08-12-2005, 08:20 PM
|
#4
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Did you use genkernel?
|
|
|
08-12-2005, 09:07 PM
|
#5
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
Quote:
Originally posted by comprookie2000
Did you use genkernel?
|
genkernel doesn't set grub up, it only does the whole make bzimage, make modules etc.
|
|
|
08-12-2005, 10:13 PM
|
#6
|
LQ Newbie
Registered: Aug 2005
Posts: 7
Original Poster
Rep:
|
i did not use genkernel
i put the asterisk under hda2 (linux boot)
rebooted after installation
works perfectlly
my 1st linux install, and it was gentoo on a laptop, i hear thats a good accomplishment....
anyways, thanks for all the posts
i will look into the
Quote:
your grub config, it's looking for the splash image /dev/hda1 (hd0,0) when it's actually in your boot partition which is /dev/hda2 or (hd0,1).
|
and get that fixed (although i did get a splash image..... dunno how)
thanks all once again
|
|
|
08-12-2005, 11:59 PM
|
#7
|
LQ Newbie
Registered: Aug 2005
Posts: 7
Original Poster
Rep:
|
i was wrong on my initial post...
grub has the following code:
...
Code:
splashimage=(hd0,1)/grub/splash.xpm.gz
....
and not what I had initially said, which was
Code:
splashimage=(hd0,0)/grub/splash.xpm.gz
So im good to go!

|
|
|
08-13-2005, 03:48 AM
|
#8
|
Gentoo Developer
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Rep:
|
Quote:
Originally posted by 0pal_t0ad
i don't think the * matters too much but if have a look at your grub config, it's looking for the splash image /dev/hda1 (hd0,0) when it's actually in your boot partition which is /dev/hda2 or (hd0,1).
Also, after kernel you need to specify where you real root(/) partition is eg.
Code:
kernel /kernel-2.6.11-gentoo-r11 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda4
*edit* just noticed that you do have the root thing, but i'll leave it there anyway :P
|
Thats for Genkernel ...
|
|
|
08-13-2005, 10:23 AM
|
#9
|
Member
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298
Rep:
|
uh uh! when i use "genkernel --menuconfig all", it always tells me update grub.conf at the end, it doesn't do it for me.
And congrats on getting gentoo running on your first attempt at linux with only a minor error like, wrong bootable partition 
|
|
|
All times are GMT -5. The time now is 12:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|