Find the answer to your Linux question:
Results 1 to 9 of 9
Ok, here's the deal... I've just upgraded from Ubuntu 8.10 to 9.04 and now I can't boot into GUI. I am prompted to login at a text-based screen and then ...
  1. #1
    Just Joined! KPolulak's Avatar
    Join Date
    Feb 2009
    Location
    New Jersey, USA
    Posts
    42

    Unhappy HELP! The Juanty Jackalope has got me!

    Ok, here's the deal...

    I've just upgraded from Ubuntu 8.10 to 9.04 and now I can't boot into GUI. I am prompted to login at a text-based screen and then I am brought to the command prompt but I think I may know why.

    During the upgrade process, I was asked what I want to do with the menu.lst file. I chose to keep the current one because I liked the background I had for the GRUB bootloader. I think this was my mistake because now when my PC is at the bootloader screen, the option to boot into Linux still says Linux kernel 2.6.27 instead of the new version 2.6.28 included with Ubuntu 9.04.

    How can I fix this?

    Now, this is only what I think the problem may be. I will post the message I get when I login ASAP but I do remember it saying something about a non-existent directory.

    HELP!

  2. #2
    Linux User saivin's Avatar
    Join Date
    Dec 2008
    Location
    Bengaluru, India
    Posts
    305
    You are able to login right? Once you login do the following:
    Code:
    ls /boot
    It will list all the kernels and initrds. Write down the latest for 9.04. (Mine says 2.6.28-11-generic). Next
    Code:
    sudo nano /boot/grub/menu.lst
    Give password of your account, edit the menu.lst in nano then Ctrl+O to save and Ctrl+X to quit. Reboot your system.

    But, is that the only problem?
    A candle looses nothing by lighting other candles. - Khalil Zibran.
    Registered Linux User #490076

  3. #3
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Is machine booting up at all? Which Graphics Card do you have? You have to re-install driver if you have Nvidia or ATI Card.
    You can add an entry of new kernel easily. Execute this
    Code:
    ls /boot
    uname -a
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  4. #4
    Just Joined! KPolulak's Avatar
    Join Date
    Feb 2009
    Location
    New Jersey, USA
    Posts
    42
    I've tried to list the contents of the /boot directory but there isn't anything what-so-ever inside the directory for some reason. Odd...

    Here is the message I receive after logging in:

    Code:
    No directory, logging in with HOME=/
    -bash: cannot create temp file for here document: Read-only file system
    Then I am dumped at the console.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Have you tried to run fsck command on / file system?

    Boot up from LiveCD and post the output of sudo fdisk -l command here.
    Code:
    sudo fdisk -l
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined! KPolulak's Avatar
    Join Date
    Feb 2009
    Location
    New Jersey, USA
    Posts
    42
    Alright, here are the results when running "sudo fdisk -l" from the LiveCD:

    Code:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xccb5ccb5
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        6527    52428096    7  HPFS/NTFS
    /dev/sda2            6528       13054    52428127+   7  HPFS/NTFS
    /dev/sda3           13055       52217   314576797+   7  HPFS/NTFS
    /dev/sda4           52218       60802    68952064    f  W95 Ext'd (LBA)
    /dev/sda5           52218       60802    68951040    7  HPFS/NTFS
    
    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x0000b98d
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       46995   377487306    7  HPFS/NTFS
    /dev/sdb2           46996       49485    20000925   83  Linux
    /dev/sdb3           49486       49546      489982+  83  Linux
    /dev/sdb4           49547       52185    21197767+   5  Extended
    /dev/sdb5           49547       52036    20000893+  83  Linux
    /dev/sdb6           52037       52185     1196811   82  Linux swap / Solaris

  7. #7
    Just Joined! Gossamer's Avatar
    Join Date
    May 2009
    Location
    Virginia / USA
    Posts
    10
    Dispite seeing that; it's still hard to figure out what partition your booting into Linux from.

    3 linux paritions and one swap... Do you remember what partition your installed it on?

  8. #8
    Just Joined! KPolulak's Avatar
    Join Date
    Feb 2009
    Location
    New Jersey, USA
    Posts
    42
    Well, considering when I initially installed Ubuntu, I formatted the / partition first, so it is probably /dev/sdb2.

    At the GRUB bootloader, I'm able to edit where I boot to. Couldn't I just edit it through trial and error using a different partition each time?

    Well, even if I could, for the "kernel" row it says "linux-2.6.28-11-generic" and then something like UID with a ton of characters following it.

    Ugh...what a mess...

  9. #9
    Just Joined!
    Join Date
    Feb 2009
    Posts
    9
    log into single mode and then > /var/log/syslog this eill clean the syslog to see resent messages if you cant understand and you are confused of all messages then reboot again in single or you could fron single type grub you will see grub shell type : find /boot/stage1 you have to see the right partition if this is the right then root (sd/hd) somethink if donsent complain type setup (sd/hd) somethink.It will be good to post the last 5-10 rows of your syslog if problem persist .You can use cfdisk to view yous pratition table dont change anythink there . If this is grub
    Or try update-grub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...