Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Installing Arch Grub Error 22

  1. #11
    Join Date
    Feb 2009
    Beans
    430
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing Arch Grub Error 22

    Sorry forgot to mention that i already did that, just neglected it in the code on arch forums, . my bad. And i'll get right on the fdisk output.
    http://sekuritysuks.wordpress.com

    ~$ sudo apt-get meabeer
    E: Invalid operation meabeer

  2. #12
    Join Date
    Jul 2008
    Location
    Birmingham, England
    Beans
    2,400

    Re: Installing Arch Grub Error 22

    Code:
    #(0) Arch Linux
    title Arch Linux [boot/vmlinuz26]
    root (hd0,2)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    
    #(1)Windows
    title Windows
    rootnoverify (hd0,1)
    makeactive
    chainloader +1
    I think you need to put in the disc UUID there and make sure it has the right root of course

    Code:
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/<uuid> ro
    Code:
    ls -lF /dev/disk/by-uuid/
    will give the UUID.

    You may be able to put

    Code:
    #(0) Arch Linux
    title Arch Linux [boot/vmlinuz26]
    root (hd0,2)
    kernel /vmlinuz26 root=/dev/disk/label/sda3 ro
    initrd /kernel26.img
    
    #(1)Windows
    title Windows
    rootnoverify (hd0,1)
    makeactive
    chainloader +1

  3. #13
    Join Date
    Feb 2009
    Beans
    430
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing Arch Grub Error 22

    Okay mirrored fdisk -lu best i could...

    Code:
    Disk /dev/sda : 250.0gb
    255 HEADS 635 SECTORS/TRACKS, 30401 CYLINDERS
    TOTAL 488397168 SECTORS
    UNITS=SECTORS OF 1*512=512 BYTES
    DISK IDENTIFIER, 0X0F7F14E6
    
    DEVICE____BOOT_____START___________END__________BLOCKS___ID__SYSTEM
    -----------------------------------------------------------------------------
    /dev/sda1/         2048            17299455     8648704  27 Unknown
    /dev/sda2/ *       17299456        322507111    142603528 7 HP/NTFS
    /dev/sda3/         322507112       48839204     82942476+ 83  Linux
    Hope it helps someone figure this mess out.
    http://sekuritysuks.wordpress.com

    ~$ sudo apt-get meabeer
    E: Invalid operation meabeer

  4. #14
    Join Date
    Feb 2009
    Beans
    430
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing Arch Grub Error 22

    Quote Originally Posted by SuperSonic4 View Post
    Code:
    #(0) Arch Linux
    title Arch Linux [boot/vmlinuz26]
    root (hd0,2)
    kernel /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
    
    #(1)Windows
    title Windows
    rootnoverify (hd0,1)
    makeactive
    chainloader +1
    I think you need to put in the disc UUID there and make sure it has the right root of course

    Code:
    kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/<uuid> ro
    Code:
    ls -lF /dev/disk/by-uuid/
    will give the UUID.

    You may be able to put

    Code:
    #(0) Arch Linux
    title Arch Linux [boot/vmlinuz26]
    root (hd0,2)
    kernel /vmlinuz26 root=/dev/disk/label/sda3 ro
    initrd /kernel26.img
    
    #(1)Windows
    title Windows
    rootnoverify (hd0,1)
    makeactive
    chainloader +1
    Not entirely sure what you mean but here's the output of ls -lF /dev/disk/by-uuid/

    Code:
    lrwxrwxrwx 1 root root 10 2009-04-27 04:50 6A02839A02836A41 --> ../../sda1
    
    lrwxrwxrwx 1 root root 10 2009-04-27 04:50 AC1C474E1C4712AE --> ../../sda2
    http://sekuritysuks.wordpress.com

    ~$ sudo apt-get meabeer
    E: Invalid operation meabeer

Page 2 of 2 FirstFirst 12

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
  •