Author Topic: Boot error after to install PCLinuxOs 2009 (SOLVED)  (Read 2609 times)

yaem

  • Guest
Boot error after to install PCLinuxOs 2009 (SOLVED)
« on: January 18, 2010, 03:25:07 AM »
Hi all!

yestarday I installed pclinuxos 2009 in a partition of my hard disk

The partitions are distributed this way:

SDA1: WINDOWS XP HOME
SDA2: LINUXOS 2009
SDA3: SWAP
SDA4: LIVECD LinuxOs 2009 (view)

When I restart my computer an error "boot" appears and I cannot select what operating system to start.

Which files must I look to solve it? I cannot enter the partition "livecd" to reinstall the pclinuxos 2009

Thanks in advance
« Last Edit: January 20, 2010, 02:58:57 AM by yaem »

yaem

  • Guest
Re: Boot error after to install PCLinuxOs 2009
« Reply #1 on: January 18, 2010, 12:45:27 PM »
Hi

error displayed when PC starts

GRUB loading stage1.5
GRUB loading, please wait.....
Error 2
  :-\


the content of my menu.lst file

Quote
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=e4097694-2d28-45c4-9b6d-cb71da6dbdfb  acpi=on resume=UUID=ea811f7c-e712-4bfb-b94d-827591c3246e vga=791
initrd (hd0,1)/boot/initrd.img

title linux-nonfb
kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=e4097694-2d28-45c4-9b6d-cb71da6dbdfb  acpi=on resume=UUID=ea811f7c-e712-4bfb-b94d-827591c3246e
initrd (hd0,1)/boot/initrd.img

title failsafe
kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=e4097694-2d28-45c4-9b6d-cb71da6dbdfb  failsafe acpi=on
initrd (hd0,1)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11583
  • ----IOFLU----
Re: Boot error after to install PCLinuxOs 2009
« Reply #2 on: January 18, 2010, 05:55:08 PM »
Hi

error displayed when PC starts

GRUB loading stage1.5
GRUB loading, please wait.....
Error 2
  :-\


the content of my menu.lst file

Quote
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=e4097694-2d28-45c4-9b6d-cb71da6dbdfb  acpi=on resume=UUID=ea811f7c-e712-4bfb-b94d-827591c3246e vga=791
initrd (hd0,1)/boot/initrd.img

title linux-nonfb
kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=e4097694-2d28-45c4-9b6d-cb71da6dbdfb  acpi=on resume=UUID=ea811f7c-e712-4bfb-b94d-827591c3246e
initrd (hd0,1)/boot/initrd.img

title failsafe
kernel (hd0,1)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=e4097694-2d28-45c4-9b6d-cb71da6dbdfb  failsafe acpi=on
initrd (hd0,1)/boot/initrd.img

title windows
root (hd0,0)
makeactive
chainloader +1

You are getting the error because it can't find the /boot/gfxmenu, as it's looking to find it on the Windows partition. (see 0 above) Change the (hd0,0) to (hd0,1) and it should solve the problem.
Old-Polack

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



Lest we forget...

yaem

  • Guest
Re: Boot error after to install PCLinuxOs 2009
« Reply #3 on: January 19, 2010, 03:18:44 AM »
http://www.uruk.org/orig-grub/errors.html

Double check your bios and make sure the drive is seen in there and what order do you have the bios set to boot from, also check the jumper settings on all the drives (HD and Disc drives) to ensure cable select on all devices.


Yes. Is correct.

Quote
You are getting the error because it can't find the /boot/gfxmenu, as it's looking to find it on the Windows partition. (see 0 above) Change the (hd0,0) to (hd0,1) and it should solve the problem.

Yes I have changed but it displays the same error.  :-\

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11583
  • ----IOFLU----
Re: Boot error after to install PCLinuxOs 2009
« Reply #4 on: January 19, 2010, 12:32:05 PM »
yaem:

Your menu.lst does not have a stanza to boot the "live partition". Why is that? Is this the correct menu.lst from your installed system? Did you reinstall grub after creating the "live partition", using a different menu.lst? Did you create the "live partition" before or after the full installation?

There are inconsistencies in what you've told us, so start again, and tell us exactly what you've done, and the exact order in which it was done.
Old-Polack

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



Lest we forget...

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11583
  • ----IOFLU----
Re: Boot error after to install PCLinuxOs 2009
« Reply #5 on: January 19, 2010, 12:49:25 PM »
http://www.uruk.org/orig-grub/errors.html

Double check your bios and make sure the drive is seen in there and what order do you have the bios set to boot from, also check the jumper settings on all the drives (HD and Disc drives) to ensure cable select on all devices.


I don't know where the information from the site you linked to comes from, but it is inconsistent with the official grub manual. Open konqueror, the web browser, clear the Location: bar, then type;

info:grub/Stage2 errors

The results are exactly consistent with the data from:

http://www.gnu.org/software/grub/manual/html_node/Stage2-errors.html

so I don't think you should be relying on the link you posted, or posting it for others to rely on. ;)

Old-Polack

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



Lest we forget...

yaem

  • Guest
Re: Boot error after to install PCLinuxOs 2009
« Reply #6 on: January 19, 2010, 01:17:43 PM »
ok. Then my error is this?

2 : Bad file or directory type
    This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO.


Quote
Your menu.lst does not have a stanza to boot the "live partition". Why is that? Is this the correct menu.lst from your installed system? Did you reinstall grub after creating the "live partition", using a different menu.lst? Did you create the "live partition" before or after the full installation?

There are inconsistencies in what you've told us, so start again, and tell us exactly what you've done, and the exact order in which it was done.

Before to install PCLinuxOS on this HDD, I had this:

SDA1: WINDOWS XP HOME
SDA2: MOLINUX ZERO (LIKE PUPPY LINUX)
SDA3: SWAP
SDA4: FAT32 (to store data between windows and linux)

after this:
1- format SDA2 and SDA4
2- create live cd on SDA4
3. install pclinuxos.

But the actual menu.lst was created after install PcLinuxOs.

Quote
Did you create the "live partition" before or after the full installation?
before to install

But now, can I solve my problem editing menu.lst?

« Last Edit: January 19, 2010, 01:19:54 PM by yaem »

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11583
  • ----IOFLU----
Re: Boot error after to install PCLinuxOs 2009
« Reply #7 on: January 19, 2010, 01:37:52 PM »
ok. Then my error is this?

2 : Bad file or directory type
    This error is returned if a file requested is not a regular file, but something like a symbolic link, directory, or FIFO.


Quote
Your menu.lst does not have a stanza to boot the "live partition". Why is that? Is this the correct menu.lst from your installed system? Did you reinstall grub after creating the "live partition", using a different menu.lst? Did you create the "live partition" before or after the full installation?

There are inconsistencies in what you've told us, so start again, and tell us exactly what you've done, and the exact order in which it was done.

Before to install PCLinuxOS on this HDD, I had this:

SDA1: WINDOWS XP HOME
SDA2: MOLINUX ZERO (LIKE PUPPY LINUX)
SDA3: SWAP
SDA4: FAT32 (to store data between windows and linux)

after this:
1- format SDA2 and SDA4
2- create live cd on SDA4
3. install pclinuxos.

But the actual menu.lst was created after install PcLinuxOs.

Quote
Did you create the "live partition" before or after the full installation?
before to install

But now, can I solve my problem editing menu.lst?


How did you access the menu.lst, in order to post it's contents? If you can get to it with an editor, you should be able to create the stanza for the live partition, then reinstall grub, using the grub native installation method. Grub would need to use the following:

[root@localhost ~]# grub          <Enter>

grub> root (hd0,1)          <Enter>

grub> setup (hd0)          <Enter>

grub> quit            <Enter>

[root@localhost ~]#

You could do that from a liveCD, logged in as root, from a terminal, if you have a CD drive.
Old-Polack

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



Lest we forget...

yaem

  • Guest
Re: Boot error after to install PCLinuxOs 2009
« Reply #8 on: January 20, 2010, 02:58:39 AM »
How the problem was persisting, finally I have installed from scratch plclinuxos again. Now runs fine :-)

I suppose that in the first installation I did some incorrect step


Thank you for your attention

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15304
  • ┌∩┐(◕_◕)┌∩┐
Re: Boot error after to install PCLinuxOs 2009 (SOLVED)
« Reply #9 on: January 31, 2010, 07:48:54 AM »
Quote
Your menu.lst does not have a stanza to boot the "live partition".

old-polack;

Slightly off topic but what do actually mean by "stanza" ?  I've seen you mention it in a few of your posts but I cannot quite fathom what you mean by it (not uncommon in my case :-)
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11583
  • ----IOFLU----
Re: Boot error after to install PCLinuxOs 2009 (SOLVED)
« Reply #10 on: January 31, 2010, 08:12:11 AM »
Quote
Your menu.lst does not have a stanza to boot the "live partition".

old-polack;

Slightly off topic but what do actually mean by "stanza" ?  I've seen you mention it in a few of your posts but I cannot quite fathom what you mean by it (not uncommon in my case :-)

If you look in /boot/grub/menu.lst you will see groups of lines, then an empty line, then another group of lines. Each group of lines starts with a line beginning with the word title. Each of these groups of lines is a stanza, offering an entry on the grub boot menu. Whatever follows the word title in the first line of each stanza is what will show on the grub boot menu. The rest of each stanza is the set of instructions for grub to find the kernel and initrd image, and the information it is to pass on to the kernel, once it is loaded into memory.
Old-Polack

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



Lest we forget...

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15304
  • ┌∩┐(◕_◕)┌∩┐
Re: Boot error after to install PCLinuxOs 2009 (SOLVED)
« Reply #11 on: January 31, 2010, 08:24:17 AM »
Quote
If you look in /boot/grub/menu.lst you will see groups of lines, then an empty line, then another group of lines. Each group of lines starts with a line beginning with the word title. Each of these groups of lines is a stanza, offering an entry on the grub boot menu. Whatever follows the word title in the first line of each stanza is what will show on the grub boot menu. The rest of each stanza is the set of instructions for grub to find the kernel and initrd image, and the information it is to pass on to the kernel, once it is loaded into memory.

Many thanks old-polack its simple when its explained...

I think I understanza ya now  :D

PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11583
  • ----IOFLU----
Re: Boot error after to install PCLinuxOs 2009 (SOLVED)
« Reply #12 on: January 31, 2010, 08:38:04 AM »
Quote
If you look in /boot/grub/menu.lst you will see groups of lines, then an empty line, then another group of lines. Each group of lines starts with a line beginning with the word title. Each of these groups of lines is a stanza, offering an entry on the grub boot menu. Whatever follows the word title in the first line of each stanza is what will show on the grub boot menu. The rest of each stanza is the set of instructions for grub to find the kernel and initrd image, and the information it is to pass on to the kernel, once it is loaded into memory.

Many thanks old-polack its simple when its explained...

I think I understanza ya now  :D



 ;D ;D ;D
Old-Polack

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



Lest we forget...

linuxist

  • Guest
Re: Boot error after to install PCLinuxOs 2009 (SOLVED)
« Reply #13 on: February 12, 2010, 10:59:22 AM »
Hi all,

I am getting the same error after using XP in my dual operating system. I did browse about 12 pages of suggestions, most of which, admittedly, I am not familiar with, because I am still a novice  :-\ My PcLinuxOs was installed about 2 years ago, and I am not sure what version it is.

Since the problem occurs at a very early stage in booting, I am not sure if I will have access to the menu.lst file, or any editor. I will go to the bios setup menu to see if I can swap hd0 and hd1. I will check this forum later on to see if anyone has any other suggestions as a reply.

I also tried to figure how to make a bootable CD. Where are these files?

Yesterday I had to go to xp to use paintbrush, because I use it also at work. At some point Windows said I had to reboot after it installed some updates. Then the system rebooted to linux. Halfway through booting I noticed I had to go back to windows, and so I turned off the machine and then started windows. So this means the booting process was still working. I finished my work in windows and turned off the machine.

Next time the booting started to give me the following message:

Internal LAN MAC address: 00 ....
Hardware Monitor...


CPU Vcore: 1.26V
+3.3V: 3.36V
...

Verifying DMI Pool Data...
Boot from CD:
GRUB Loading stage1.5.
BRUB loading, please wait...
Error 2


At the time I had a blank CD in the drive. Next time I removed it from the drive, but did not change anything.

Any ideas? I don't have a second PC, so I have to go somewhere else to check for replies. I can be reached here 647.894.6391.
Thanks in advance.
linuxist. (maybe in future :D)

linuxist

  • Guest
Re: Boot error after to install PCLinuxOs 2009 (SOLVED)
« Reply #14 on: February 14, 2010, 11:55:08 AM »
No suggestions? I guess you need to know stuff before you can ask a question!  ;D