PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 12:56:09 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Boot menu problem, I think ? (solved)  (Read 553 times)
ff103
Hero Member
*****
Offline Offline

Posts: 632



WWW
« on: September 14, 2010, 07:18:01 PM »

Hello Everyone: a little help if you please. I just installed Gnome 2010 on a HD(the 80 gig) that contained an old 2009 PCLOS install. I have two hard drives in this machine. My issue is that the Gnome install doesn't show up in the boot list, as you can see the 2009 stable is still there and if I choose it, it just stops before trying to load.Below is some info that I hope is useful and maybe someone can point me in the right direction.Also forgot to mention that the 250 gig drive with PCLOS 2010 is sata and the 80 gig is IDE.

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4181    33583851   83  Linux
/dev/sda2            4182       30401   210612150    5  Extended
/dev/sda5            4182        4690     4088511   82  Linux swap / Solaris
/dev/sda6            4691       30401   206523576   83  Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007c53d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1356    10892038+  83  Linux
/dev/sdb2            1357        9730    67258674    5  Extended
/dev/sdb5            1357        1457      811251   82  Linux swap / Solaris
/dev/sdb6            1458        9730    66447360   83  Linux

Menu.lst from 2010 KDE:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=960f367e-18d0-4b81-be48-84fc62d487e6 resume=UUID=38f92898-4d4d-4b4b-a7a1-94b7bfe18efd splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title 2009 stable
kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=881b8341-0b20-4c06-9b09-f89399b6301b  acpi=on
initrd (hd1,0)/boot/initrd.img


title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=960f367e-18d0-4b81-be48-84fc62d487e6 resume=UUID=38f92898-4d4d-4b4b-a7a1-94b7bfe18efd
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=960f367e-18d0-4b81-be48-84fc62d487e6 failsafe
initrd (hd0,0)/boot/initrd.img

title windows
root (hd1,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

title PCLinuxOS (PCLinuxOS)
root (hd2,0)
configfile /boot/grub/menu.lst

Also, windows is not on this machine anymore. Thanks for any help.
Logged

If Firefighters died and went to hell, they would just put it out!
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #1 on: September 14, 2010, 11:29:37 PM »

Hello Everyone: a little help if you please. I just installed Gnome 2010 on a HD(the 80 gig) that contained an old 2009 PCLOS install. I have two hard drives in this machine. My issue is that the Gnome install doesn't show up in the boot list, as you can see the 2009 stable is still there and if I choose it, it just stops before trying to load.Below is some info that I hope is useful and maybe someone can point me in the right direction.Also forgot to mention that the 250 gig drive with PCLOS 2010 is sata and the 80 gig is IDE.

Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4181    33583851   83  Linux
/dev/sda2            4182       30401   210612150    5  Extended
/dev/sda5            4182        4690     4088511   82  Linux swap / Solaris
/dev/sda6            4691       30401   206523576   83  Linux

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007c53d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1356    10892038+  83  Linux
/dev/sdb2            1357        9730    67258674    5  Extended
/dev/sdb5            1357        1457      811251   82  Linux swap / Solaris
/dev/sdb6            1458        9730    66447360   83  Linux

Menu.lst from 2010 KDE:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=960f367e-18d0-4b81-be48-84fc62d487e6 resume=UUID=38f92898-4d4d-4b4b-a7a1-94b7bfe18efd splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title 2009 stable
kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=881b8341-0b20-4c06-9b09-f89399b6301b  acpi=on
initrd (hd1,0)/boot/initrd.img


title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=960f367e-18d0-4b81-be48-84fc62d487e6 resume=UUID=38f92898-4d4d-4b4b-a7a1-94b7bfe18efd
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=960f367e-18d0-4b81-be48-84fc62d487e6 failsafe
initrd (hd0,0)/boot/initrd.img

title windows
root (hd1,0)
map (0x81) (0x80)
map (0x80) (0x81)
makeactive
chainloader +1

title PCLinuxOS (PCLinuxOS)
root (hd2,0)
configfile /boot/grub/menu.lst

Also, windows is not on this machine anymore. Thanks for any help.


On what partition did you install Gnome? Where did you install its grub?
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
ff103
Hero Member
*****
Offline Offline

Posts: 632



WWW
« Reply #2 on: September 15, 2010, 03:15:44 PM »

thanks for looking at this O-P, you helped me out the last time, when I wanted to keep 2009 . the gnome install is on the 80 gig drive that is sdb. in Gnome that drive shows up as hda since it is an IDE drive , but my 2010 KDE install see's it as sdb. the 250 gig drive where 2010 KDE is at is an sata drive. when I loaded gnome, I thought I  put the bootloader on sda, but when I booted up only gnome was available.so I'm  not really sure where I should go from here, my 2010 KDE has all my work stuff on it so I didn't want to mess it up, I have it booting back to sda now. Thanks for any help. 
Logged

If Firefighters died and went to hell, they would just put it out!
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #3 on: September 15, 2010, 04:07:22 PM »

thanks for looking at this O-P, you helped me out the last time, when I wanted to keep 2009 . the gnome install is on the 80 gig drive that is sdb. in Gnome that drive shows up as hda since it is an IDE drive , but my 2010 KDE install see's it as sdb. the 250 gig drive where 2010 KDE is at is an sata drive. when I loaded gnome, I thought I  put the bootloader on sda, but when I booted up only gnome was available.so I'm  not really sure where I should go from here, my 2010 KDE has all my work stuff on it so I didn't want to mess it up, I have it booting back to sda now. Thanks for any help. 

If your Gnome install sees the drive as /dev/hdb it would have to be the old 2009 version. It's the kernel that determines how the drives are seen, and the current kernels see all hard drives as /dev/sdx.

You've said the installation is on /dev/sdb, but didn't say which partition, and that's the important part. If you installed Gnomes grub to the MBR of /dev/sdb you need to mount the partition that Gnome is on somewhere on the running KDE installation, locate the Gnome /boot/grub/menu.lst, then copy/paste the first boot stanza to the /boot/grub/menu.lst of the KDE installation. Any reference in that stanza to (hd0,<whatever>) needs to be changed to (hd1,<whatever>). If the title line has not been edited to title Gnome make that edit.

Save the file, and on reboot you should have a Gnome entry in your boot menu.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
ff103
Hero Member
*****
Offline Offline

Posts: 632



WWW
« Reply #4 on: September 15, 2010, 04:55:22 PM »

O K sorry about that, I used the entire drive for gnome, sdb1 is the root partition then swap(sdb5) then the rest for home(sdb6). I downloaded PCLinux Gnome from the pclinuxos website(release date 7-05-2010) , is that the most current version? I'll check it again with the live cd but I won't be at that machine until tomorrow, I'm doing a 24 hr at the station today, but will follow your instructions when I get home. thanks for all your help, I really appreciate it. Ray.
Logged

If Firefighters died and went to hell, they would just put it out!
ff103
Hero Member
*****
Offline Offline

Posts: 632



WWW
« Reply #5 on: September 16, 2010, 08:54:37 AM »

O-P when I install gnome onto sdb and I get a prompt of where to install the bootloader I have an option to install it to sda or sdb. Can I install it to sda and have both KDE and Gnome show up on my start up screen and get a choice as to which one to boot to? I want the KDE install on sda to be the default, which is the 250 gig drive and it is set in the bios as the first boot. Thanks.
Logged

If Firefighters died and went to hell, they would just put it out!
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #6 on: September 16, 2010, 01:45:43 PM »

O-P when I install gnome onto sdb and I get a prompt of where to install the bootloader I have an option to install it to sda or sdb. Can I install it to sda and have both KDE and Gnome show up on my start up screen and get a choice as to which one to boot to? I want the KDE install on sda to be the default, which is the 250 gig drive and it is set in the bios as the first boot. Thanks.

A simple rule. I always install the master grub to the drive on which the installation lives. I define master grub as the one belonging to the first Linux installation on that drive, and the one whose menu.lst will control the boot menu. For all other installations on the same drive, I install grub to the / partition of the installation. One can either chainload the newer installations, or copy/paste the first stanza of that menu.lst to the master menu.lst to boot directly.

With a second hard drive, I still install the grub from the first Linux installation on that drive to the MBR of that drive. Should the first drive fail, or be removed, the second can become the boot drive, and be fully functional immediately. That being done, I copy the first stanza of each Linux installations menu.lst to the master menu.lst on the first drive, and change each reference to (hd0,n) to (hd1,n). If a third drive is installed, and has a Linux installation, the same applies, except any reference to (hd0,n) in the stanza copied to the master menu.lst is edited to read (hd2,n).

If you install the grub from your Gnome installation on sdb, to the MBR of sda, it becomes the master grub, and if either drive fails, no OS is bootable, because half of the master grub will be missing. Better to install the Gnome grub to the sdb MBR and change the boot drive to sdb in BIOS, if you have a reason to want that grub to be the master.

The more hard drives one has, the more complicated this gets to keep each drive independent, and yet able to boot any installation on the machine, from any drive set to be the boot drive. I currently have four drives connected to this machine, and all have Linux installations on them. To simplify the process, I rely on boot partitions.

I have a boot partition on each of my drives. In it are copies of the /boot directories of each installation, renamed for the appropriate installation; ie minime2010, kde2010, openbox, fullmonty, etc. By doing this, whichever hard drive is the boot drive, the kernels for each installation will be available at (hd0,0)/<whatever>/vmlinuz. Replace <whatever> with one of the renamed /boot directory names. I also have each partition labeled, so the same boot stanzas can be used from any drive.

Example:

title MiniMe 2010
kernel (hd0,0)/minime2010/vmlinuz BOOT_IMAGE=MiniMe_2010 root=LABEL=minime2010  resume=LABEL=swap1000 vga=791
initrd (hd0,0)/minime2010/initrd.img

title PCLOS-KDE-2010
kernel (hd0,0)/kde2010/vmlinuz BOOT_IMAGE=PCLOS-KDE-2010 root=LABEL=kde2010  resume=LABEL=swap1000 vga=791
initrd (hd0,0)/kde2010/initrd.img

title Full-Monty
kernel (hd0,0)/fullmonty/vmlinuz BOOT_IMAGE=Full-Monty root=LABEL=fullmonty  acpi=on resume=swap1000 vga=791
initrd (hd0,0)/fullmonty/initrd.img


In the three examples above, my internal drive /dev/sda is the boot drive, and each of these installations are on an external USB drive, /dev/sdc. I an currently using an old 2002 machine that cannot boot from anything except /dev/sda. No USB boot at all; yet with this method I am currently running the MiniMe installation on the USB drive. If I move the USB drive to another computer that can boot from a USB drive, the same renamed /boot directories are in its boot partition, so the same boot stanzas still work from its master menu.lst.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
ff103
Hero Member
*****
Offline Offline

Posts: 632



WWW
« Reply #7 on: September 16, 2010, 02:05:19 PM »

Thanks O-P, that's pretty much what I had figured out, I did install grub from the gnome install to sdb and I had a menu.lst entry for the old 2009 in my kde install from the last time you helped me with this same problem. I have not placed a stanza into the menu.lst of the gnome install yet so that I can boot from either drive, but for now I can boot either install from the default grub on the kde install and that will do for now. It seems that if I unplug one drive or the other that it will boot into the drive that is left, is this correct? so if one drive fails, I could just dis-connect it and boot to the working drive? Just trying to come up with a fall back in case that happens. Thank you for all the help. hopefully I have learned a lesson and I won't have to trouble you with this again Smiley or not.
Logged

If Firefighters died and went to hell, they would just put it out!
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #8 on: September 16, 2010, 02:12:31 PM »

Thanks O-P, that's pretty much what I had figured out, I did install grub from the gnome install to sdb and I had a menu.lst entry for the old 2009 in my kde install from the last time you helped me with this same problem. I have not placed a stanza into the menu.lst of the gnome install yet so that I can boot from either drive, but for now I can boot either install from the default grub on the kde install and that will do for now. It seems that if I unplug one drive or the other that it will boot into the drive that is left, is this correct? so if one drive fails, I could just dis-connect it and boot to the working drive? Just trying to come up with a fall back in case that happens. Thank you for all the help. hopefully I have learned a lesson and I won't have to trouble you with this again Smiley or not.

As long as each drive has it's own grub and master menu.lst, you are set to go. If a drive is removed, for whatever reason, obviously its installations will be unavailable, but those on the remaining drive will be readily bootable.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
ff103
Hero Member
*****
Offline Offline

Posts: 632



WWW
« Reply #9 on: September 16, 2010, 02:29:56 PM »

Thanks O-P , I shall mark this solved. have a great day.
Logged

If Firefighters died and went to hell, they would just put it out!
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM