Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-05-2005, 03:33 AM   #1
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57

Rep: Reputation: 15
Question Dual boot Slackware 10.1 with XP - HELP!

I'm trying to dual-boot my laptop. I've installed WIndows XP Professional on hda1. I've installed Slackware 10.1 on hda2. After going through the install I checked lilo.conf to make sure everything was accurate. However when I attempted to boot into Windows it wouldn't let me. It would say "Loading Windows" and then return to the LILO menu.

While booting into slackware I get an error stating:

wrong fs type, bad option, bad superblock on /dev/hda1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

I've checked dmesg and found no useful information.

Below is the output of my lilo.conf file:

# Windows bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
# Linux bootable partition config ends

I tried re-running LILO (/sbin/lilo) and recieved the following but it did not resolve my boot issue.:

Warning: Partition 2 on /dev/hda is not marked active.
Added Windows *
Added Linux

Please help. I need help as soon as possible. Thanks! I hope this information is helpful to anyone who may have an answer.

Last edited by rsmith; 07-05-2005 at 04:05 AM.
Old 07-05-2005, 06:26 AM   #2
Registered: Apr 2004
Location: Newcastle, UK
Distribution: Slackware 10.2
Posts: 134

Rep: Reputation: 15
You could try, using the XP CD recovery console and type fixmbr.

this will replace lilo with Windows boot loader, then boot into windows make sure it works ok. If not your installation is corrupt.

once done, insert Slackware CD and run :
linux root=/dev/hda2

login as root and run lilo.

If all else fails, try again from scratch, Ive noticed that some times things just go wrong. But I guarantee it works, mine is setup similar.

As for the Bad block etc, your entry in /etc/fstab should look something similar to:

/dev/hda1 /mnt/XP ntfs auto,user,ro,umask=000 1 0

this is mine set for all users to access the files.
Old 07-05-2005, 06:48 AM   #3
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
Is XP on a ntfs partion? Slackware will work fine with XP though, both on ntfs and fat32. I've just setup 2 xp/slack 10.1 boxes and both booted without a problem.
Old 07-05-2005, 11:18 AM   #4
Registered: Jan 2005
Location: Arizona
Distribution: SuSE 9.3 Pro / Slackware 10.1 / WBEL 3
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks for all the help so far all. I tried the "fixmbr" shortly after I made my inital post thinking that would fix it, however it didn't. Same problem.

Yes, XP is setup on hda1 as NTFS. I was reading on the Slackware website that I should use the NT Loader instead of LILO by installing Slackware to the superblock, modifying the boot.ini file in XP and putting the first 512 bytes of hda2 into the root of C: as a file called bootsect.lnx - boot.ini would then point to this file as the 2nd boot option.
Old 07-05-2005, 11:42 AM   #5
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
I never bothered todo it that way with xp on ntfs or fat32. I put lilo on the mbr and used that to boot xp or linux.
Old 07-05-2005, 11:49 AM   #6
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Lilo should easily boot Xp/Slack no problem if installed to the MBR. Personally I've always had better results using GRUB, but Lilo definately should work. try reinstalling Lilo to the MBR.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot windows/slackware, but slackware installed first? Cryptic_K Slackware 3 11-20-2006 12:49 PM
Slackware 10.1 dual boot with XP dcc Linux - Newbie 7 02-26-2005 10:17 PM
system alarm on boot in slackware 10.0 but not win2000(dual boot) Arch Stanton Slackware 3 01-24-2005 10:33 AM
dual boot xp/slackware gl0stik Linux - Newbie 10 12-09-2004 10:11 AM
dual boot slackware and xp again wakemeup Linux - Software 1 05-02-2004 02:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration