Why does my 32 bit slackware insist that it's 64 bits?
SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So I said screw it and I've installed along side it a Slackware 12.2 with the intention of dual booting. I added it to my lilo.conf and it boots up fine.
The problem is when I try to run any apps I get an error about how "This is an x86_64 platform" and it will not run any of the 32 programs.
Is it because my lilo is 64 bits? Is it loading the wrong kernel?
The 32 bit install uses a root partition at /dev/sda1 and the 64 bit is /dev/sda4 with a /home partition at /dev/sda3. At first I tried to share the /home partition between the two but I assumed it was causing the problem, but the problem persists even after using /dev/sda1 as the exclusive partition for slack12.2
I also tried using the lilo installed during the setup of 12.2 I was able to then load my 32 linux and play some wine games but I couldn't get back into my 64 bit install.
Is this normal? Shouldn't it be possible to dual boot 32 and 64 bit slackwares? Should I try grub?
Yes - you can dual boot. I suspect something wrong in lilo.conf. Post lilo.conf here and we can all have a look. It may just be a syntax error. I do those a lot.
LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda4
label = Linux
read-only
# Linux bootable partition config ends
I've removed a large section of comments "vga = 7**" but other than that this is my current lilo.conf. I've also tried it with "table = /dev/sda" included in the linux32 section with the same problem.
When I run lilo I get "One Warning issued" but I don't know where to look to check for the specific warning.
I'm trying multilib again. I'm hoping I just missed something last time (but I know I didn't) and that it'll magically work. This is driving me nuts. I need 32 bit support but the performance difference between 32 and 64 bit is substantial enough on this laptop that having a 32 OS as my main system isn't good enough.
There are probably different ways to do this, so I will show you the way I do this. Since lilo is installed from your 32bit install, you need to make a directory in /mnt and add an entry for the 64bit to /etc/fstab:
To make the dir:
Code:
# mkdir /mnt/Slackware64
Entry for fstab, change the filesystem type to suit your system:
Code:
/dev/sda4 /mnt/Slackware64 ext4 defaults 1 1
Change the entry in lilo.conf to this:
Code:
# Linux bootable partition config begins
image = /mnt/Slackware64/boot/vmlinuz
root = /dev/sda4
label = Linux
read-only
# Linux bootable partition config ends
Lastly, run this command as root:
Code:
# lilo
Now you should be able to boot either with the proper kernel.
I dual boot Slackware 13.0 and Slackware-current. I install Slackware-current's lilo to its root partition and use Slackware 13.0's lilo.conf to boot both distos. This lilo.conf set-up from my Slackware 13.0 partition works. My home partition is mounted on sda3.
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/root
label = Linux
read-only
# Linux bootable partition config ends
# Current
other = /dev/sda4
label = Current
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.