Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Seting up grub

  1. #11
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Seting up grub

    Had you tried to boot from the Windows drive, before you did "fixboot"? With what result?

  2. #12
    Join Date
    May 2008
    Beans
    43

    Re: Seting up grub

    Code:
    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x29ef16c9
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        9327    74919096   83  Linux
    /dev/sda2            9328        9729     3229065    5  Extended
    /dev/sda5            9328        9729     3229033+  82  Linux swap / Solaris
    
    Disk /dev/sdb: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xc467c467
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1   *           1       24321   195358401    7  HPFS/NTFS
    ok, well i tryed to boot into windows from the windows HDD,
    it still came up with grub, but it wouldnt boot anything...
    so i tried your idea, i ran fixboot and it was ok,
    but stilll no windows,
    so i tried fixmbr and then everything buggered up...

    how do i use the testdisk thing?

  3. #13
    Join Date
    May 2008
    Beans
    43

    Re: Seting up grub

    ijust tried the fix grub thing in ur siggy,
    now it will load grub up when i boot but when i select bunty it just stays at the splash screen with the bar bouncing from left to right...

  4. #14
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Seting up grub

    fdisk looks normal and grub seems to be working.
    testdisk is a little tricky. But since your partition table seems to be o.k, lets run a file system check first: (make sure your ubuntu partition is unmounted for this)

    Code:
    sudo e2fsck -C0 -pv  /dev/sda1

  5. #15
    Join Date
    May 2008
    Beans
    43

    Re: Seting up grub

    Code:
    /dev/sda1: clean, 169160/4685824 files, 1494114/18729774 blocks
    not sure what the means...

  6. #16
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Seting up grub

    That means that e2fsck thinks your partition is just fine, and does not even bother to check it. But that isn't always true. Try

    sudo e2fsck -C0 -pfv /dev/sda1
    (the f "forces" a file check, you can use "man e2fsck to figure out what the letters mean)

  7. #17
    Join Date
    May 2008
    Beans
    43

    Re: Seting up grub

    Code:
      169160 inodes used (3.61%)
        1226 non-contiguous inodes (0.7%)
             # of inodes with ind/dind/tind blocks: 8651/142/0
     1494114 blocks used (7.98%)
           0 bad blocks
           1 large file
    
      132145 regular files
       17692 directories
          69 character device files
          26 block device files
           3 fifos
         102 links
       19209 symbolic links (18084 fast symbolic links)
           7 sockets
    --------
      169253 files

  8. #18
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Seting up grub

    File systems seems to be ok. Partition table looks fine.


    Lets try to remove the splash screen during boot-up. Then you might get some useful error messages:

    Code:
    sudo mkdir /ubuntu
    sudo mount -t ext3 /dev/sda1 /ubuntu
    gksudo gedit /ubuntu/boot/grub/menu.lst
    (Please report any errors)

    Look for the first appearance of

    title ubuntu......
    root (hd0,0)
    kernel ..... splash quiet ....
    intitrd

    remove splash and quiet
    Save the file.

    If this failed for some reason, you can also remove "splash quiet" at the Grub menu during boot up:

    Select ubuntu, do not press "enter", but press "e" to "edit". At the new screen select the second line and press "e" again. Make the changes. Press "enter" and then "b" to boot.
    Last edited by meierfra.; June 1st, 2008 at 05:35 AM. Reason: left out a line of code

  9. #19
    Join Date
    May 2008
    Beans
    43

    Re: Seting up grub

    ok, well the last line it says for ages is this:

    Code:
    [  111.051524] /build/buildd/linux-2.6.24/drivers/hid/usbhid/hid-core.c: v2.6:UB HID core driver
    then after a while it comes up with this:

    Code:
    Check root=bootarg cat /proc/cmdline or missing modules, devices: cat/proc/modules is /dev
    Alert! /dev/disk/by-uuid/cfc2919b-4747-4d12-a7cb-3ca261630bc0 does not exist. dropping to a shell!
    then it has something about a BusyBox v1.1.3

    im not sure what any of this means,
    and some spelling could be off since i had to wright it all down then re-type it...

  10. #20
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Seting up grub

    Did "gksudo gedit /ubuntu/boot/grub/menu.lst" work ?

    Try this:

    Code:
    sudo blkid /dev/sda1
    This will give you the "UUID" for /dev/sda1. If it is different from

    "UUID=cfc2919b-4747-4d12-a7cb-3ca261630bc0 "

    then replace all "UUID=cfc2919b-4747-4d12-a7cb-3ca261630bc0" in "/ubuntu/boot/grub/menu.lst" and in "/ubuntu/etc/fstab" by "/dev/sda1"

    So for example

    "root=UUID=cfc2919b-4747-4d12-a7cb-3ca261630bc0 "

    needs to replaced by

    "root=/dev/sda1"


    To edit the files:
    Code:
    sudo mkdir /ubuntu
    sudo mount -t ext3 /dev/sda1 /ubuntu
    sudo gedit /ubuntu/boot/grub/menu.lst
    sudo gedit /ubuntu/etc/fstab

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

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