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 26, 2012, 06:11:43 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Grub Errors ( Resolved )  (Read 868 times)
Ramchu
Hero Member
*****
Offline Offline

Posts: 1429



« on: June 22, 2010, 03:15:47 PM »

A little background - I got in from work and was doing some invoicing and noticed that my computer was
responding rather slowly . I rebooted and it took an exceptionally long time for it to boot up, so as soon as it booted and stabilized
I rebooted again and this time I got an Error 18 from the Grub boot loader ( error 18 - Selected cylinder exceeds maximum supported by BIOS )
so I shut down the computer from the front power button.

I started up the computer again and as it was loading the Grub boot loader I got another Error but this time it was Error 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. )

SO I shut down the computer again and restarted it and this time Grub loaded and as it started to load PCLinux I hit the escape key and It took me to a shell that  said to run fsck manually and ask for the root password, so I entered the root password and ran fsck and answered yes to several errors that it found as it wanted to fix them - now everything seems to be back to normal .

Is or should there be anything else that I need to do ?
Logged

Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #1 on: June 22, 2010, 04:48:42 PM »

I would have expected a fsck might be necessary after switching off with the power button, but have no idea what might be the problem from before that.

I would be inclined to use a liveCD and do a fsck on all the partitions in the machine.

After that I would probably be lost .....  not knowing what else I could do .....   Wink  ......  I would likely check the hardware connections inside the PC ......  and reseat things with the power cord pulled ......
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #2 on: June 22, 2010, 05:20:55 PM »

A little background - I got in from work and was doing some invoicing and noticed that my computer was
responding rather slowly . I rebooted and it took an exceptionally long time for it to boot up, so as soon as it booted and stabilized
I rebooted again and this time I got an Error 18 from the Grub boot loader ( error 18 - Selected cylinder exceeds maximum supported by BIOS )
so I shut down the computer from the front power button.

I started up the computer again and as it was loading the Grub boot loader I got another Error but this time it was Error 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. )

SO I shut down the computer again and restarted it and this time Grub loaded and as it started to load PCLinux I hit the escape key and It took me to a shell that  said to run fsck manually and ask for the root password, so I entered the root password and ran fsck and answered yes to several errors that it found as it wanted to fix them - now everything seems to be back to normal .

Is or should there be anything else that I need to do ?

Run an fsck on the / partition from the liveCD, logged in as root.

[root@localhost ~]# fsck -f /dev/<whatever>                   <Enter>

Change the <whatever> to the correct designation for your / partition. For any questions asked, press the Enter key to accept the default choice.
Logged

Old-Polack

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



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

Posts: 1429



« Reply #3 on: June 22, 2010, 07:29:43 PM »

this is what I get:

Code:
[root@localhost /]# fsck -f /dev/sda1
fsck from util-linux-ng 2.16.2
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 145662/788416 files (0.2% non-contiguous), 1389870/3148732 blocks
[root@localhost /]#
Logged

Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #4 on: June 22, 2010, 10:42:57 PM »

this is what I get:

Code:
[root@localhost /]# fsck -f /dev/sda1
fsck from util-linux-ng 2.16.2
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 145662/788416 files (0.2% non-contiguous), 1389870/3148732 blocks
[root@localhost /]#


That's interesting, but more interesting would be if you told us whether the partition now is bootable, or not.  Grin
Logged

Old-Polack

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



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

Posts: 6885


MLU


« Reply #5 on: June 23, 2010, 02:24:09 AM »

this is what I get:

Code:
[root@localhost /]# fsck -f /dev/sda1
fsck from util-linux-ng 2.16.2
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 145662/788416 files (0.2% non-contiguous), 1389870/3148732 blocks
[root@localhost /]#


That's interesting, but more interesting would be if you told us whether the partition now is bootable, or not.  Grin

 Grin  I think you missed the bit in the first post where

Quote
now everything seems to be back to normal .

Is or should there be anything else that I need to do ?

regards.
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #6 on: June 23, 2010, 02:37:44 AM »

this is what I get:

Code:
[root@localhost /]# fsck -f /dev/sda1
fsck from util-linux-ng 2.16.2
e2fsck 1.41.9 (22-Aug-2009)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: 145662/788416 files (0.2% non-contiguous), 1389870/3148732 blocks
[root@localhost /]#


That's interesting, but more interesting would be if you told us whether the partition now is bootable, or not.  Grin

 Grin  I think you missed the bit in the first post where

Quote
now everything seems to be back to normal .

Is or should there be anything else that I need to do ?

regards.

Absolutely correct! Don't you just hate when that happens?

Hey folks, I'm having a public "Duh" moment. Crowd around, point your fingers, snicker and guffaw, while you have the chance. I'll be watching, so I can return the favor, first chance I get.  Grin Grin Grin
Logged

Old-Polack

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



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

Posts: 6885


MLU


« Reply #7 on: June 23, 2010, 04:17:49 AM »

It's an age thing .....  you should be well used to it   Grin Grin Grin  just like the rest of us  Sad
Logged
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9694


----IOFLU----


« Reply #8 on: June 23, 2010, 04:29:20 AM »

It's an age thing .....  you should be well used to it   Grin Grin Grin  just like the rest of us  Sad

Of course I'm used to it, I think I invented it. I just try to keep it better hidden when out in public.  Grin Grin Grin
Logged

Old-Polack

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



Lest we forget...
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