You are not logged in.
After playing around with Arch in virtual boxes I decided to install it on my PC. On my internal HDD I have Linux Mint installed ATM with the grub bootloader. I managed to install everything in Arch onto my 2TB external HDD (I don't intend to use it with multiple computers) with syslinux as the bootloader. However, when I reboot my PC it boots straight to Linux Mint. I set my computer's BIOS to boot from USB before the internal HDD, but it still boots into Mint. After some time tampering with stuff I'm not sure what the problem is.
External HDD looks like this:
/dev/sdb (GPT)
~/dev/sdb1 1.8TB [ext4] (/, /home, /boot)
~/dev/sdb2 2G [SWAP]
mkinitcpio.conf:
HOOKS="base udev block autodetect modconf filesystems keyboard fsck keymap"
syslinux.cfg:
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sdb1 rw
INITRD ../initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/sdb1 rw
INITRD ../initramfs-linux-fallback.img
I have my files backed up and am willing to purge Mint if necessary. Thanks in advance.
Edit: solved the problem. I did a fresh install and partitioned with fdisk and booted with grub. Worked like a charm. Cheers.
Last edited by JcGNeon (2013-09-23 09:05:36)
Offline
Would it be possible to boot Arch Linux from your grub?
https://wiki.archlinux.org/index.php/Gr … NU.2FLinux
Last edited by karol (2013-09-07 10:12:31)
Offline
Did you install the syslinux MBR code and mark the partition as bootable?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Would it be possible to boot Arch Linux from your grub?
https://wiki.archlinux.org/index.php/Gr … NU.2FLinux
Added this to the grub.cfg with no change.
menuentry "Arch Linux" {
set root=(hd1,1)
linux /boot/vmlinuz-linux
initrd /boot/initramfs-linux.img
}
### END /etc/grub.d/10_linux ###
Did you install the syslinux MBR code and mark the partition as bootable?
Yes, both with the syslinux-install_update -i -a -m and the sgdisk /dev/sdb --attributes=1:set:2 commands.
As I was browsing around I noticed something about my Mint / and my Arch Linux virtualbox / that was different from the external HDD's /.
Mint / had initrd.img, initrd.img.old, and vmlinuz
The virtualbox / had initramfs-linux.img, initramfs-linux-fallback.img, and vmlinuz-linux.
My Arch installation on the external HDD does not have these files in /, only in the /boot folder. Is this of any significance?
Offline
Try specifying the full path , and maybe you can replace LINUX with KERNEL ( in your syslinux.cfg ).
Offline
I would use UUID instead of device name, might have more chance of system booting external drive
Mr Green I like Landuke!
Offline
Try specifying the full path , and maybe you can replace LINUX with KERNEL ( in your syslinux.cfg ).
Tried (both LINUX and KERNEL), but nothing changed:
LABEL arch
MENU LABEL Arch Linux
KERNEL /dev/sdb1/boot/vmlinuz-linux
APPEND root=/dev/sdb1 rw
INITRD /dev/sdb1/boot/initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
KERNEL /dev/sdb1/boot/vmlinuz-linux
APPEND root=/dev/sdb1 rw
INITRD /dev/sdb1/boot/initramfs-linux-fallback.img
I would use UUID instead of device name, might have more chance of system booting external drive
I already tried multiple times with UUID, but saw no change.
I've also tried to install Arch on my internal HDD, but it doesn't boot there either.
Last edited by JcGNeon (2013-09-08 09:45:46)
Offline
Is this a uefi system?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Is this a uefi system?
Nope.
Offline
Another way is use device lable
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=UUID=ARCHUSB rw
INITRD ../initramfs-linux.img
I have just tested syslinux on a usb drive (key type) and works fine
Mr Green I like Landuke!
Offline