Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
01-07-2008, 08:18 PM
|
#1
|
|
Member
Registered: Sep 2007
Location: /MX/BC/TJ
Distribution: Slackware 13
Posts: 37
Rep:
|
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
root = /dev/hdc3
initrd = /mnt/arch/boot/kernel26.img
label = arch
read-only
Linux bootable partition config ends
and then update lilo without errors, but when i tried to boot arch i got error 0x01 from lilo.
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
|
|
|
|
01-07-2008, 10:28 PM
|
#2
|
|
Member
Registered: Aug 2007
Location: McBride, BC, Canada
Distribution: Slackware, OpenBSD, Edubuntu
Posts: 53
Rep:
|
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
|
|
|
|
01-07-2008, 10:31 PM
|
#3
|
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
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?
Last edited by Uncle_Theodore; 01-07-2008 at 10:32 PM.
|
|
|
|
01-07-2008, 10:54 PM
|
#4
|
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 448
Rep:
|
Here's part of my Slackware's /etc/lilo.conf for arch after a fresh arch install:
Code:
# ARCH
image = /mnt/archhda4/boot/vmlinuz26
initrd = /mnt/archhda4/boot/kernel26.img
root = /dev/hda4
label = Arch
read-only
On my /etc/fstab it looks like this:
Code:
/dev/hda4 /mnt/archhda4 reiserfs defaults 1 1
I didn't like the "sda thing" so when installing arch, i used the 'ide-legacy' option (or something like that) Check it a boot time, and check if you need to type ide-legacy or 'ide-legacy' i don't remember atm 
No need to use grub (imo)
good luck
Last edited by MannyNix; 01-07-2008 at 10:59 PM.
|
|
|
|
01-08-2008, 02:54 AM
|
#5
|
|
Member
Registered: Sep 2007
Location: /MX/BC/TJ
Distribution: Slackware 13
Posts: 37
Original Poster
Rep:
|
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 
|
|
|
|
01-08-2008, 10:25 AM
|
#6
|
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 448
Rep:
|
Quote:
Originally Posted by drauk
to lstammto mannyslack
do you know any way to change sd* to hd* without install arch again??
|
No, sorry i don't. Not sure if it can be done safely. Just guessing:
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
|
|
|
|
01-09-2008, 01:43 PM
|
#7
|
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
You can use force lilo option. Be careful.
|
|
|
|
01-09-2008, 01:52 PM
|
#8
|
|
Member
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896
Rep:
|
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.
|
|
|
|
01-10-2008, 04:17 PM
|
#9
|
|
Member
Registered: Sep 2007
Location: /MX/BC/TJ
Distribution: Slackware 13
Posts: 37
Original Poster
Rep:
|
Hi again, thanks for all your suggestions.
you aren't going to believe this  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
image = /mnt/arch/boot/vmlinuz26
root = /dev/hdc3
append="root=/dev/disk/by-uuid/5fcd8afe-bc0a-415b-9d4a-24b988e056ad"
initrd = /mnt/arch/boot/kernel26.img
label = arch
read-only
# Linux bootable partition config ends
to check the uuid for every partition write
Code:
ls -l /dev/disk/by-uuid/
Note to myself:
Always double-check error suggestion (even if i am sure the problem is not there)
Code:
0x01: Illegal Command
This shouldn't happen, but if it does, it may indicate an attempt to access a disk which is not supported by the BIOS. Definitely check to see if the disk is seen by the BIOS first (and that the BIOS detail is complete).
Last edited by drauk; 01-10-2008 at 04:19 PM.
|
|
|
|
01-10-2008, 11:00 PM
|
#10
|
|
Member
Registered: Dec 2005
Location: ~
Distribution: Slackware -current, OpenBSD
Posts: 448
Rep:
|
Interesting, thanks for letting us know how you fixed it. (In a very Slacker style btw  )
|
|
|
|
05-05-2009, 07:25 PM
|
#11
|
|
LQ Newbie
Registered: Apr 2005
Location: Guadalajara, Mexico
Posts: 6
Rep:
|
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 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:19 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|