Linux - GeneralThis 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
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.
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.
I got a new laptop (dv9000) and it came with Windows Vista. I just set that a side and installed PCLinuxOS 2007 and it installed it's own boot loader... everything went well I could use both Operating Systems.
Then I installed Fedora 7, it too install it's own boot loader (Grub)... BUT I can only access Windows Vista and Fedora 7... NOT PCLinuxOX 2007
How can I make PCLinux 2007 work with the Grub boot loader???
sda = hard drive
sda1 = vista
sda2 = boot loader
sda3 = extended
inside sda3 is sda5 = Fedora 7
inside sda3 is sda6 = Linux swap (which I don't think works)
inside sda3 is sda7 = /home
inside sda3 is sda8 = PCLinuxOS 2007
sda4 = HP Recovery
under: System > Administration > Bootloader I can pick between OS, but can't change them. It does list Fedora 7, PCLinuxOS 2007, and Windows Vista.
When I try to load PCLOS it does give me an error... I'll go see what it is, brb.
back... error is:
booting 'PCLinuxOS 2007'
rootnoverity (hd0,7)
chainloader +1
Error 13 Invalid or unsupported executable format
I opened /boot/grub/menu.lst
title Fedora (2.6.21-1.3228.fc7)
root (hd0,4)
kernel /boot/vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3228.fc7.img
title Fedora (2.6.21-1.3194.fc7)
root (hd0,4)
kernel /boot/vmlinuz-2.6.21-1.3194.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.21-1.3194.fc7.img
title PCLinuxOS 2007
rootnoverify (hd0,7)
chainloader +1
title Windows Vista
rootnoverify (hd0,0)
chainloader +1
that makes it look like PCLinuxOS is setup like Vista... which isn't right. So I replace it with something?
Yes you need to change your PC Linux entry. The best way I have found is to open your /boot/grub/menu.lst in (sd8) and copy the top entry and then paste it in the /boot/grub/menu.lst of (sd5). Remove your entry for chainloading PC Linux.
The most elegant way to do it is stick with the menu.lst in Post #1.
Your PCLinuxOS will boot if you are activate a Grub shell or Grub prompt and issue these commands
Code:
root (hd0,7)
setup (hd0,7)
Remember you can only chainload a Linux if you have installed a boot loader in its root partition. You have only been putting Grub in the MBR for both Fedora and PCLinuxOS. The "root" + "setup" statements above put it right for you.
As a minor refinement in Linux no need to use "rootnoverify" which is for a partition without a kernel. "root" is adequate for every Linux but the use of "rootnoverify" does not affect the booting materially.
umm... I can't fdisk -l or fdisk -ls
here is the terminal:
[dcole@localhost ~]$ su
Password:
[root@localhost dcole]# fdisk -l
bash: fdisk: command not found
[root@localhost dcole]# fdisk -ls
bash: fdisk: command not found
[root@localhost dcole]#
what am I doing wrong here?
--- ----
rootnoverify was the default thing after I installed PCLinuxOS... No input on my part.
If you insert the lines, as suggested in Post #11 into the Fedora's menu.lst or grub.conf that constitutes direct method of booting and you need to be precise with the kernel and initrd names.
The suggestion in post #7 is indirect method of booting requiring nothing except the partition number with PCLinuxOS's /boot.
If you insert the lines, as suggested in Post #11 into the Fedora's menu.lst or grub.conf that constitutes direct method of booting and you need to be precise with the kernel and initrd names.
The suggestion in post #7 is indirect method of booting requiring nothing except the partition number with PCLinuxOS's /boot.
Both methods works perfectly. You can have them both because they can co-exist together.
You can fire up PCLinux in Fedora's Grub right now by pressing the "c" key to drop into a Grub prompt with command
Code:
root (hd0,7)
setup (hd0,7)
chainloader +1
boot
The above put Grub inside root partition of PCLInuxOS and then boot it up.
Alternative you can fire up PCLinuxOS without restoring Grub just by this command
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.