LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 06-16-2007, 11:15 PM   #1
Ongeboren
Member
 
Registered: Apr 2006
Location: Brussels
Distribution: Kubuntu 7.04, PCLinuxOS 2007
Posts: 63

Rep: Reputation: 15
Unhappy Grub 15 Error after a PCLinuxOS 2007 Install


ok, so I made a choice and installed PCLinuxOS 2007.

the installation went pretty smoothly

the partitions I made were

/ (10 Gb)
/home (15 Gb)
/swap (700 Mb)

and then, when I restarted the computer after the installation ended, pulling out the cd, it won't load anything telling me about this "GRUB 15 Error".

so I cannot boot my Windoze either, i can only boot via the PClinuxOS Live CD.

Help please
 
Old 06-17-2007, 03:42 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Grub Error List
Quote:
15 : "Error while parsing number"

This error is returned if GRUB was expecting to read a number and encountered bad data.
... check /boot/grub/menu.lst (you'll need to use the live PC, mount the linux partitions and hunt. chroot can be handy here) If you get lost, post the file here.
 
Old 06-17-2007, 11:12 AM   #3
Ongeboren
Member
 
Registered: Apr 2006
Location: Brussels
Distribution: Kubuntu 7.04, PCLinuxOS 2007
Posts: 63

Original Poster
Rep: Reputation: 15
I just ran my Ubuntu live cd and tried to mount them without any success :s

Code:
ubuntu@ubuntu:~$ fdisk

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda  (for the first IDE disk)
  or: fdisk /dev/sdc  (for the third SCSI disk)
  or: fdisk /dev/eda  (for the first PS/2 ESDI drive)
  or: fdisk /dev/rd/c0d0  or: fdisk /dev/ida/c0d0  (for RAID devices)
  ...
ubuntu@ubuntu:~$ mount /dev/hda1
mount: can't find /dev/hda1 in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ mount /dev/hda2
mount: can't find /dev/hda2 in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$ mount /dev/hda5
mount: can't find /dev/hda5 in /etc/fstab or /etc/mtab
ubuntu@ubuntu:~$
and for the second operation you mentioned.. i dont even now how to execute it .
 
Old 06-17-2007, 11:43 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
You will find the documentation handy.
man fdisk
man mount

So, from the root terminal in ubuntu live...

fdisk -l

(lists your partitions)

if the / (root) partition is the second on the primary master drive, then the mount command is:

mkdir /mnt/sda2
mount -t ext3 /dev/sda2 /mnt/sda2

chroot /mnt/sda2
(this relabels /mnt/sda2 to /)

cat /boot/grub/menu.lst

without the chroot (change root) command, you need to do:

cat /mnt/sda2/boot/grub/menu.lst

... which some people find harder to visualize.
 
Old 06-17-2007, 12:38 PM   #5
Ongeboren
Member
 
Registered: Apr 2006
Location: Brussels
Distribution: Kubuntu 7.04, PCLinuxOS 2007
Posts: 63

Original Poster
Rep: Reputation: 15
thanks sir, doing well up to now, did what you say and got this after the <cat /boot/grub/menu.lst> command.

Code:
# Start GRUB global section
timeout 10
#color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
  title Linux on (/dev/hda1)
  root (hd0,0)
  kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends
title --- For help press 'c', type: 'help'
root (hd0)
title --- For usage examples, type: 'cat /boot/grub/grub.txt'
root (hd0)bash-3.1# cat /boot/grub/menu.lst
what should I do now ?


edit : when I open the file with
<gedit /boot/grub/menu.lst>

the list is empty

Last edited by Ongeboren; 06-17-2007 at 12:56 PM.
 
Old 06-17-2007, 02:19 PM   #6
Ongeboren
Member
 
Registered: Apr 2006
Location: Brussels
Distribution: Kubuntu 7.04, PCLinuxOS 2007
Posts: 63

Original Poster
Rep: Reputation: 15
*Problem Resolved*

after having further problems with it, I re-installed the PCLinuxOS and chose for the Lilo Boot Loader this time, and it runs !! Finally.

I had never had problems , back when I was using slackware with my Lilo, and on the same time, I've had GRUB problems on my Ubuntu... so what my conclusion is, is that LILO is more stable than GRUB (simple observation )

Simon Bridge, thanks for your input
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Installing PCLinuxOS 2007 ksml Linux - Newbie 2 06-01-2007 03:06 PM
PCLinuxOS 2007: It's finally here! davecs Linux - Distributions 2 05-21-2007 08:47 AM
install printer on PCLinuxOS 2007 version wyckoffbr Linux - Newbie 3 02-18-2007 09:45 PM
GNOME with PCLinuxOS 2007? BlahBlah_X Linux - Desktop 2 02-16-2007 04:58 PM
Grub after initial HD install on PCLINUXOS suseforge Linux - Software 43 01-31-2006 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 01:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration