You are not logged in.

#1 2010-09-08 21:34:32

oxyc
Member
Registered: 2010-09-08
Posts: 1

Dual booting arch (usb) and ubuntu (grub2)

Greetings,

I'm trying to dual boot Arch linux (installed without a bootloader on a USB SSD) and Ubuntu 10.04 (installed on a hdd with GRUB2) but can't get Arch to boot. (Oh and I already have windows dualbooted)

The entry grub autogenerated:

menuentry "Arch Linux [/boot/vmlinuz26] (on /dev/sdb3)" {
    insmod ext2
    set root='(hd1,1)'
    search --no-floppy --fs-uuid --set 95d9208a-44e4-48ba-abd2-a365d1ac25ff
    linux /vmlinuz26 root=/dev/sda3 ro
    initrd /kernel26.img
}

Why did it input root=/dev/sda3 as it says (on /dev/sdb3)?

The entry I figured would work:

menuentry "Arch Linux" {                                                                                
set root=(hd1,0)
linux /boot/vmlinuz26 root=/dev/sdb3 ro
initrd /boot/kernel26.img
}

Output from fdisk -l:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbc4264d9

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              13        5286    42353664    7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3            5286       19458   113831937    5  Extended
Partition 3 does not end on cylinder boundary.
/dev/sda5           18971       19458     3905536   82  Linux swap / Solaris
/dev/sda6            5286        6502     9764864   83  Linux
/dev/sda7            6502       18971   100155392   83  Linux

Partition table entries are not in disk order

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 8019 MB, 8019509248 bytes
255 heads, 63 sectors/track, 974 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          13      104391   83  Linux
/dev/sdb2              14         111      787185   82  Linux swap / Solaris
/dev/sdb3             112         685     4610655   83  Linux
/dev/sdb4             686         974     2321392+  83  Linux

/dev/sdb3 is the root partition

The content of /dev/sdb1

grub
kernel26-fallback.img
kernel26.img
lost+found
System.map26
vmlinuz26

- If I try to edit the root=/dev/sda3 to /dev/sdb3 it begins booting but doesnt find /dev/sdb3.

Thanks in advance for any help,
Oskar

Offline

Board footer

Powered by FluxBB