Author Topic: Two Pclos installed but only one shows in Start menu  (Read 1328 times)

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Two Pclos installed but only one shows in Start menu
« on: August 24, 2012, 12:57:46 AM »
My setup is a triple boot one with Pclos 1012.02,Windows XP, and Centos

I have just installed Minime 1012-08 on a fourth partition but now my Pclos 1012-02 does not appear on the menu. It appeared when grub was setting up in Minime but does not show on the login menu.

The login menu only lists Minime, XP and Centos. I would like it to show if only for use as a backup.

It does appear in Dolphin along with the others and I can extract stuff from it.

Here is my menu.lst

timeout 6
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=e9828432-158a-475f-84b7-64b56348792d quiet nokmsboot vmalloc=256M acpi=on splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=e9828432-158a-475f-84b7-64b56348792d quiet nokmsboot vmalloc=256M acpi=on
initrd (hd0,4)/boot/initrd.img

title failsafe
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=e9828432-158a-475f-84b7-64b56348792d quiet nokmsboot failsafe vmalloc=256M acpi=on
initrd (hd0,4)/boot/initrd.img

title CentOS (Final)
root (hd0,1)
configfile /boot/grub/menu.lst

title windows
root (hd0,0)
chainloader +1

title memtest-4.20
kernel (hd0,4)/boot/memtest-4.20 BOOT_IMAGE=memtest-4.20

 


 
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10614
  • MLUs Forever!
Re: Two Pclos installed but only one shows in Start menu
« Reply #1 on: August 24, 2012, 10:15:03 AM »
Maybe .......

title PCLOS
root (hd0,2)
configfile /boot/grub/menu.lst

Of course that is on the assumption that I guessed the partition correctly .......
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Two Pclos installed but only one shows in Start menu
« Reply #2 on: August 24, 2012, 07:18:59 PM »
Maybe .......

title PCLOS
root (hd0,2)
configfile /boot/grub/menu.lst

Of course that is on the assumption that I guessed the partition correctly .......

Thanks Just18 but it didn't work. I tried a few (hd0,x) but got "File system type unknown. Error 17 can't mount selected partition."

But the file system is ext4 the same as I always use.
« Last Edit: August 24, 2012, 07:47:21 PM by Maurice »
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Two Pclos installed but only one shows in Start menu
« Reply #3 on: August 24, 2012, 07:58:22 PM »
Why don't you start by telling us which partitions is the previous PCLinuxOS 2012.02 is installed, and does it have it's own /boot folder?

As root, do an fdisk -l and post the results.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Two Pclos installed but only one shows in Start menu
« Reply #4 on: August 24, 2012, 09:10:19 PM »
Why don't you start by telling us which partitions is the previous PCLinuxOS 2012.02 is installed, and does it have it's own /boot folder?

As root, do an fdisk -l and post the results.

PCLinuxOS 2012.02 is on sda4 (extended) and does not have a /boot folder. Minime is on sda3.

fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0007671a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   286712054   143355996    7  HPFS/NTFS
/dev/sda2   *   286713856   513054719   113170432   83  Linux
/dev/sda3       513054720   548539424    17742352+  83  Linux
/dev/sda4       548539425   976768064   214114320    5  Extended
/dev/sda5       548539488   732869234    92164873+  83  Linux
/dev/sda6       732869298   976768064   121949383+  83  Linux
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Two Pclos installed but only one shows in Start menu
« Reply #5 on: August 24, 2012, 09:35:19 PM »
Same a Just18, I would suspect your PCLinuxOS 2012.02 is in (hd0,2).  We'll need two to three more steps before we can sort this out.

Again on a konsole, type ls -l /dev/disk/by-uuid and post the results.

Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11534
  • ----IOFLU----
Re: Two Pclos installed but only one shows in Start menu
« Reply #6 on: August 24, 2012, 10:23:02 PM »
Maurice:

In a terminal, as root;

[root@localhost ~]# grub                                   <Enter>
Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> find /boot/grub/stage2                     <Enter>
find /boot/grub/stage2
 (hd0,0)
 (hd0,7)
 (hd1,0)
 (hd1,6)
 (hd1,7)
 (hd1,8)
 (hd1,12)
 (hd1,13)
 (hd1,14)
 (hd1,16)
 (hd2,0)
 (hd2,2)
 (hd2,4)
 (hd2,5)
 (hd2,6)
 (hd2,8)
 (hd2,9)
 (hd2,10)

Above is my list from my machine. Yours will be shorter, but it will show which partitions are / partitions for all of your installations.

Post your results.

The command to leave grub is;

grub> quit                           <Enter>
« Last Edit: August 24, 2012, 10:24:39 PM by Old-Polack »
Old-Polack

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



Lest we forget...

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Two Pclos installed but only one shows in Start menu
« Reply #7 on: August 24, 2012, 10:59:15 PM »
Same a Just18, I would suspect your PCLinuxOS 2012.02 is in (hd0,2).  We'll need two to three more steps before we can sort this out.

Again on a konsole, type ls -l /dev/disk/by-uuid and post the results.



Yes, it is in (hd0.2)

[maurice@localhost ~]$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Aug 25 01:26 46BCF4A0BCF48C25 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 25 01:26 bc038639-c0c5-439a-bf5c-7c73026f5a19 -> ../../sda2
lrwxrwxrwx 1 root root 10 Aug 25 01:26 bc869a96-e033-43c9-8755-700d8fa58422 -> ../../sda3
lrwxrwxrwx 1 root root 10 Aug 25 01:26 e9828432-158a-475f-84b7-64b56348792d -> ../../sda5
lrwxrwxrwx 1 root root 10 Aug 25 01:26 ecc9e2a2-5246-4ea5-9ab2-2cb9a53a6205 -> ../../sda6
[maurice@localhost ~]$ ls -l /dev/disk/by-uuid


PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Two Pclos installed but only one shows in Start menu
« Reply #8 on: August 24, 2012, 11:07:53 PM »
Maurice:

In a terminal, as root;

[root@localhost ~]# grub                                   <Enter>
Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> find /boot/grub/stage2                     <Enter>
find /boot/grub/stage2
 (hd0,0)
 (hd0,7)
 (hd1,0)
 (hd1,6)
 (hd1,7)
 (hd1,8)
 (hd1,12)
 (hd1,13)
 (hd1,14)
 (hd1,16)
 (hd2,0)
 (hd2,2)
 (hd2,4)
 (hd2,5)
 (hd2,6)
 (hd2,8)
 (hd2,9)
 (hd2,10)

Above is my list from my machine. Yours will be shorter, but it will show which partitions are / partitions for all of your installations.

Post your results.

The command to leave grub is;

grub> quit                           <Enter>


  GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub> find /boot/grub/stage2
 (hd0,1)
 (hd0,4)
 (hd0,5)

grub> find /boot/grub/stage2
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Two Pclos installed but only one shows in Start menu
« Reply #9 on: August 24, 2012, 11:57:43 PM »
One the Run command (Alt+F2) and type kdesu kwrite /boot/grub/menu.lst then enter your root password on the password box.

Add the following before title linux-nonfb ... add empty lines before and after the stanza so you can distinguish the section.

title PCLinuxOS 2012.02
kernel (hd0,2)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=bc869a96-e033-43c9-8755-700d8fa58422 quiet nokmsboot vmalloc=256M acpi=on splash=silent vga=788
initrd (hd0,2)/boot/initrd.img

Save the file and reboot.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Two Pclos installed but only one shows in Start menu
« Reply #10 on: August 25, 2012, 12:32:10 AM »
One the Run command (Alt+F2) and type kdesu kwrite /boot/grub/menu.lst then enter your root password on the password box.

Add the following before title linux-nonfb ... add empty lines before and after the stanza so you can distinguish the section.

title PCLinuxOS 2012.02
kernel (hd0,2)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=bc869a96-e033-43c9-8755-700d8fa58422 quiet nokmsboot vmalloc=256M acpi=on splash=silent vga=788
initrd (hd0,2)/boot/initrd.img

Save the file and reboot.

Thought that was going to find it but instead I got - Error 15 File not found again. I've attached t part of menu.lst so you can see I typed it correctly. ;D

timeout 6
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0

title linux
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=e9828432-158a-475f-84b7-64b56348792d quiet nokmsboot vmalloc=256M acpi=on splash=silent vga=788
initrd (hd0,4)/boot/initrd.img

title PCLinuxOS 2012.02
kernel (hd0,2)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=bc869a96-e033-43c9-8755-700d8fa58422 quiet nokmsboot vmalloc=256M acpi=on splash=silent vga=788
initrd (hd0,2)/boot/initrd.img

title linux-nonfb
kernel (hd0,4)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=e9828432-158a-475f-84b7-64b56348792d quiet nokmsboot vmalloc=256M acpi=on
initrd (hd0,4)/boot/initrd.img
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: Two Pclos installed but only one shows in Start menu
« Reply #11 on: August 25, 2012, 12:37:54 AM »
An error 15 means that the specified file name cannot be found, but everything else (like the disk/partition info) is OK. Please do as O-P instructed.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Two Pclos installed but only one shows in Start menu
« Reply #12 on: August 25, 2012, 12:48:06 AM »
An error 15 means that the specified file name cannot be found, but everything else (like the disk/partition info) is OK. Please do as O-P instructed.

I already did that but just did it again - here is the output...

GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub>
      find /boot/grub/stage2
 (hd0,1)
 (hd0,4)
 (hd0,5)
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10614
  • MLUs Forever!
Re: Two Pclos installed but only one shows in Start menu
« Reply #13 on: August 25, 2012, 01:11:55 AM »
Try this


title PCLOS
root (hd0,5)
configfile /boot/grub/menu.lst
« Last Edit: August 25, 2012, 01:30:03 AM by Just18 »
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11534
  • ----IOFLU----
Re: Two Pclos installed but only one shows in Start menu
« Reply #14 on: August 25, 2012, 01:19:40 AM »
An error 15 means that the specified file name cannot be found, but everything else (like the disk/partition info) is OK. Please do as O-P instructed.

I already did that but just did it again - here is the output...

GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename. ]

grub>
      find /boot/grub/stage2
 (hd0,1)
 (hd0,4)
 (hd0,5)


This tells you that your installations are on sda2, sda5, and sda6. If you edit the boot stanza, previously given, to show (hd0,5) instead of (hd0,2) for both the kernel and initrd lines, it should boot what is there. You will also need to change the UUID to ecc9e2a2-5246-4ea5-9ab2-2cb9a53a6205

From:

title PCLinuxOS 2012.02
kernel (hd0,2)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=bc869a96-e033-43c9-8755-700d8fa58422 quiet nokmsboot vmalloc=256M acpi=on splash=silent vga=788
initrd (hd0,2)/boot/initrd.img

To:

title PCLinuxOS 2012.02
kernel (hd0,5)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=ecc9e2a2-5246-4ea5-9ab2-2cb9a53a6205  quiet nokmsboot vmalloc=256M acpi=on splash=silent vga=788
initrd (hd0,5)/boot/initrd.img
« Last Edit: August 25, 2012, 01:33:56 AM by Old-Polack »
Old-Polack

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



Lest we forget...