PDA

View Full Version : [SOLVED] Booting issue after using gparted



havenoname
May 5th, 2010, 11:21 AM
After using Gparted to create a new partition on my hard drive, the system(lucid) sometimes doesnt boot properly and sometimes it does boot correctly ..

This is how it looks now:

http://i44.tinypic.com/24l53zp.png


So the pc starts up .. and just before you (normally) see the ubuntu logo i see a row of sentences passing by fast, and then the screen becomes black.

marcusjames
May 5th, 2010, 02:44 PM
Try sudo install-grub /dev/sda in a terminal. Please let us know how u get on.

dabl
May 5th, 2010, 02:55 PM
If you added a partition before/in front of the partition that has Ubuntu on it, then you have changed the /dev/sdxx number of all following partitions. That could mess up booting.

If you press "e" on the boot menu (assuming you see a boot menu), then you can remove the "quiet" option from the kernel boot line -- that will help you see boot messages.

havenoname
May 5th, 2010, 05:21 PM
Try sudo install-grub /dev/sda in a terminal. Please let us know how u get on.

thanx for your help..
the command doesn't work?
And what does it do exactly?

havenoname
May 5th, 2010, 05:23 PM
If you added a partition before/in front of the partition that has Ubuntu on it, then you have changed the /dev/sdxx number of all following partitions. That could mess up booting.

If you press "e" on the boot menu (assuming you see a boot menu), then you can remove the "quiet" option from the kernel boot line -- that will help you see boot messages.


No that is not the case, ubuntu is still in the first one .. and in the second partition i only have some files on it(so no other operating system)

i will try the ''e'' thing .. thnx

havenoname
May 5th, 2010, 05:51 PM
I just figured out that i dont have a boot menu ..

havenoname
May 7th, 2010, 06:08 PM
no more ideas, guys?

efflandt
May 8th, 2010, 03:34 AM
What motherboard do you have?

You might check out the following. But not sure if that boot parameter is different in your native language.

I have an older Athlon64 HP desktop (from 2004) with Asus motherboard, and I could not get 10.04 LTS to boot on that from a USB hd until I recreated partitions from 9.10 and used the partman/alignment=cylinder boot parameter on the install CD. But in that case grub2 could not even identify the (ext3) file system on a 500 GB USB drive (unknown filesystem), or file not found on 160 GB USB drive, even though the USB drives booted fine on 2 different laptops. Now I can boot 64-bit 10.04 LTS from the 160 GB USB drive on the HP, but have not tried that on the 500 GB drive yet.

oldfred
May 8th, 2010, 06:10 AM
If you only have Ubuntu you will not see the menu unless you hold down the shift key from the end of BIOS boot. Then you should get the menu. First try the recovery mode. Then you can try the edit menu choice. It sounds like you are past grub booting and into other boot issues often video related but it could be anything.

b.bugra
May 8th, 2010, 11:16 AM
Did you try pressing Ctrl+Alt+F7 ?

Almost exact thing happened to me on my first experience with gparted. I could see Ubuntu booting normally but I couldn't see login screen. Then I realized somehow it does not switch to tty7.

havenoname
May 8th, 2010, 04:19 PM
What motherboard do you have?

You might check out the following. But not sure if that boot parameter is different in your native language.

I have an older Athlon64 HP desktop (from 2004) with Asus motherboard, and I could not get 10.04 LTS to boot on that from a USB hd until I recreated partitions from 9.10 and used the partman/alignment=cylinder boot parameter on the install CD. But in that case grub2 could not even identify the (ext3) file system on a 500 GB USB drive (unknown filesystem), or file not found on 160 GB USB drive, even though the USB drives booted fine on 2 different laptops. Now I can boot 64-bit 10.04 LTS from the 160 GB USB drive on the HP, but have not tried that on the 500 GB drive yet.

Ive got asrock but i also have a cd with graphical drivers for asus.. asus=asrock?

.. i'm still able to boot sometimes after restarting the pc one or two times.

So what do i have to do exactly?

havenoname
May 8th, 2010, 04:23 PM
If you only have Ubuntu you will not see the menu unless you hold down the shift key from the end of BIOS boot. Then you should get the menu. First try the recovery mode. Then you can try the edit menu choice. It sounds like you are past grub booting and into other boot issues often video related but it could be anything.

.. i tried the recovery mode. And i already turned on the boot menu. I see messages passing by ..but they go to fast. Is there a way to save it?

That's right it already passed the grub booting... i think you are right, sometimes if the system does start i see the screen a bit misformed and then it corrects itself.

I must figure out how to get that message befoor the black screen, saved?

havenoname
May 8th, 2010, 04:25 PM
Did you try pressing Ctrl+Alt+F7 ?

Almost exact thing happened to me on my first experience with gparted. I could see Ubuntu booting normally but I couldn't see login screen. Then I realized somehow it does not switch to tty7.

no ubuntu isn't booted yet.. you see a " _ " on the top at the left side and then the message passes by and then it turns black...

havenoname
May 8th, 2010, 04:26 PM
oh yeah.. thanks for thinking along...!

oldfred
May 8th, 2010, 04:39 PM
Did the recovery mode offer video settings or get you to update the system?

On my system I had to edit the kernel line and add nomodeset to get into a low quality video mode. After update to video driver - nvidia for me, it worked fine.

havenoname
May 11th, 2010, 07:53 PM
Did the recovery mode offer video settings or get you to update the system?

On my system I had to edit the kernel line and add nomodeset to get into a low quality video mode. After update to video driver - nvidia for me, it worked fine.

I tried the recovery mode before.. but that didn't help


BTW. I started up the system a couple of times and now it starts up correct..

It only gives me this error now : The disk drive for UUID= some letters and numbers is not ready yet or not present.

oldfred
May 11th, 2010, 08:27 PM
this sounds like something is not quite right in fstab. Are you mounting external drives or network drives?

Post a copy of /etc/fstab.

havenoname
May 11th, 2010, 09:43 PM
this sounds like something is not quite right in fstab. Are you mounting external drives or network drives?

Post a copy of /etc/fstab.


Thanks oldfred .. it seems to be fixed after altering the fstab

There was a problem with the swap, for the ones with the same problem see this thread:
http://ubuntuforums.org/showthread.php?t=51174&page=2