Slackware with arch
Hi
i just installed arch to test it but i can't make dual boot work with lilo i got installed slsackware in hda2 (sda2 in arch) and arch in hdc3 (sdb3 in arch) i tried monting arch linux partition to /mnt/arch then i added and to lilo.conf this: Code:
image = /mnt/arch/boot/vmlinuz26 And if i tried to do the same steps in arch the lilo doesn't work at all, i only got alot of 00's at boot. I think the problem is because arch use sd* and slackware hd* anyone know how to make it work? Thanks |
I tried dual booting Slack with Arch a few months ago, and the only way I could get this to work was to use grub to boot. I though about upgrading to the newest kernel on the slack side, which would probably have fixed the hda/sda naming problem with lilo, but never actually did this.
In the end, I experience too many frustrations with Arch (mainly around their required dependencies and compile-time options) to want to continue with it. My old laptop is back to a slack only machine |
I dual-boot Slackware and Arch. But my harddrive is /dev/sda on both systems. I use lilo from Slackware with no problems at all. What version of Slackware are you running?
PS Ib any case, have you tried setting root=/dev/sdb3 for arch in your lilo.conf? |
Here's part of my Slackware's /etc/lilo.conf for arch after a fresh arch install:
Code:
# ARCH Code:
/dev/hda4 /mnt/archhda4 reiserfs defaults 1 1 No need to use grub (imo) good luck |
to lstamm
thanks for you advice, i will try to make it work with lilo but if i can't i will use grub to Uncle_Theodore i'm using slackware 12 with kernel 2.6.23.12, i tried with /dev/sdb3 but doesn't work, i got this error "Fatal: Illegal 'root=' specification: /dev/sdb3" to mannyslack do you know any way to change sd* to hd* without install arch again?? Thanks for yours answers :D |
Quote:
umount arch partition(s) edit all /etc/fstab (including arch's) and change to hdX. Remount partitions again (mount -a) and edit /etc/lilo.conf Then /sbin/lilo and hope it works. Please let us know if it does. Also helpfull to ask in arch forums or irc, but let us know how i was solved please :) gl |
You can use force lilo option. Be careful.
|
There's another thing to try... You can install arch's lilo on the superblock of the arch's root partition. And then, in you Slackware lilo.conf set something like you'd done for Windows
other=/dev/hdc3 label=Arch table=/dev/hdc Then, in Arch's lilo.conf you could set root to be /dev/sdb3 You'll get a two-stage booting of Arch, but hopefully, it will work. |
Hi again, thanks for all your suggestions.
you aren't going to believe this :mad: the second hard disk was disabled in the bios (with is kinda weird i don't remember to disable it, and i can read/write without problem in linux) so i enabled and that fixed the 0x01 error in lilo. But still arch doesn't work so i made some research in google and fixed the problem adding this to lilo.conf: Code:
append="root=/dev/disk/by-uuid/5fcd8afe-bc0a-415b-9d4a-24b988e056ad" Code:
# Linux bootable partition config begins Code:
ls -l /dev/disk/by-uuid/ Always double-check error suggestion (even if i am sure the problem is not there) Code:
0x01: Illegal Command |
Interesting, thanks for letting us know how you fixed it. (In a very Slacker style btw :cool:)
|
slackware & Arch working dual boot :D
Using a console in Slackware
1.- mount /dev/sda9 /mnt/arch 2.- cd /mnt/arch/boot && cp kernel26.img vmlinuz26 /boot 3.- Add to /etc/lilo.conf image = /boot/vmlinuz26 root = /dev/sda9 label = arch read-only initrd = /boot/kernel26.img 4.- run, lilo 5.- Reboot and select arch, work fine :D |
All times are GMT -5. The time now is 06:03 PM. |