LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   multiple restarts needed to boot? (https://www.linuxquestions.org/questions/ubuntu-63/multiple-restarts-needed-to-boot-780129/)

dispozable 01-05-2010 08:39 PM

multiple restarts needed to boot?
 
im running 64bit 9.1 and for some reason i take about 3-5 restarts to boot. it hangs after my bios once or twice, then two or three times after choosing what kernel i want in grub. i thought it was a grub config problem but after looking in /boot/grub i found that i dont have a menu.lst.... im clueless. help pls!

kbp 01-05-2010 09:52 PM

Could be a disk issue, try booting off cd and fsck'ing all partitions

cheers

tommcd 01-06-2010 08:16 AM

Quote:

Originally Posted by dispozable (Post 3815602)
i thought it was a grub config problem but after looking in /boot/grub i found that i dont have a menu.lst.... im clueless. help pls!

Ubuntu 9.10 uses grub2 (actually grub 1.97). The /boot/grub/menu.lst has been replaced with /boot/grub/grub.cfg. You are not supposed to edit that file though. To read up on how to use grub2 see:
https://wiki.ubuntu.com/Grub2
http://members.iinet.net/~herman546/p20.html

I am not sure why you are having multiple reboots. If it was a grub problem you would likely get errors.
Try using fsck from the live CD as kbp suggested.

dispozable 01-06-2010 11:32 AM

so i loaded the livecd and ran fsck and here are the results:

ubuntu@ubuntu:~$ sudo fsck -y /dev/sda1
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
/dev/sda1 is mounted.

WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? yes

/dev/sda1: recovering journal
/dev/sda1: clean, 216218/9371648 files, 10578729/37475620 blocks
ubuntu@ubuntu:~$

it says it was mounted but when i right clicked places/160gb filesystem it gave me the option to mount... sorry im still kinda new to linux :)
only running 1hd atm so i thought sda1 would be fine

kbp 01-06-2010 11:42 PM

Ouch... random fsck'ing :) ... try running 'fdisk -l' and work out which physical disk you need to check, then ensure NONE of the partitions on it are mounted

cheers

tommcd 01-08-2010 07:08 AM

You can also run fsck on your partitions from the Ubuntu live CD, or just about any other live CD. Using the Ubuntu live CD your partitions will not be mounted by default, so you don't have to worry about unmounting them first.


All times are GMT -5. The time now is 05:01 PM.