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.
I'm dualbooting Slackware and Arch Linux. I'm using Slackwares GRUB installed from /extra
Loading Slackware from GRUB works fine, but loading Arch Linux doesn't. Here's the messages when trying to load Arch from GRUB:
Code:
root (hd0,0)
filesystem type unknown partition type 0x7 Error 17 :
Cannot mount selected partition
Here's the weird thing. fdisk -l in Slackware gives me this:
Code:
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13544 102392608+ 7 HPFS/NTFS
/dev/sda2 13545 14222 5116702+ 83 Linux
/dev/sda3 14222 14899 5116702+ 83 Linux
/dev/sda4 14899 41346 199936957+ 5 Extended
/dev/sda5 14899 15576 5116671 83 Linux
/dev/sda6 15576 17201 12289693+ 83 Linux
/dev/sda7 17201 17340 1052226 82 Linux swap
/dev/sda8 17341 41346 181478241 83 Linux
/dev/sda1 is my Arch Linux installation. /dev/sda1 should have been listed with the ext4 filesystem! Yes, I once had Windows installed on that partition, but now it's Arch with ext4. Weird!
Here's my /boot/grub/menu.lst. I've tried adding Arch hd0,0 as a windows partition at first just for fun. But grub complains about executables or something - of course!
Code:
# Other bootable partition config begins
title Windows on (/dev/sda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 ro
initrd /boot/kernel26.img
# Linux bootable partition config begins
title Slackware on (/dev/sda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 ro vga=normal
# Linux bootable partition config ends
Any help is appreciated.
Thanks!
Last edited by Mellar; 04-13-2011 at 11:41 AM.
Reason: Adding the solved-tag
The filesystem is ext4 but the partition type is incorrect. You would have to do as coralfang suggested and change the partition type (using fdisk/cfdisk/sfdisk). This *may* damage the contents of the partition, so you may want to back it up if there is anything valuable on there. *DO NOT* change any of the partition boundaries since this would affect all of your installations (just change the partition type).
# Other bootable partition config begins
title Windows on (/dev/sda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# (0) Arch Linux
title Arch Linux
root (hd0,0)
kernel /boot/vmlinuz26 root=/dev/sda1 ro
initrd /boot/kernel26.img
# Linux bootable partition config begins
title Slackware on (/dev/sda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/sda2 ro vga=normal
It looks to me like you forgot to remove/comment out the entry for Windows. GRUB is confused. You're telling it to chainload Windows from the same partition that you're telling it to boot Arch. Remove the Windows entry from menu.lst and it should boot Arch just fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.