LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...

Notices

Reply
 
LinkBack Search this Thread
Old 07-23-2002, 04:17 AM   #1
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
slight problem with slackware lilo ....


Hi. Just ditched Redhat for Slack which I have now successfully booted into X (windowmaker) and even got online after having it autodetect my ethernet DHCP.

Anyways....

I have a 30 gig HDD split like this...

hda1 win98 22gigs or so
hda2 swap 128mb
hda3 root 5.5gigs or so


I can boot into slack easily enuf using lilo but can't boot into Win98. I move the highlight to DOS and get >

invalid system disk.... or something similiar

Luckily this is on an extra HDD I had lying round so I havent lost anything I had saved in Windows since I fresh installed windows and then slack on this extra drive. Just am wondering why it won't boot into the windows partition.

Basically what I did was using windows fdisk I partitioned my 30 gig into 2 parts. 25gigs for Win98 on first partition and 5 gigs for slack on 2nd partition.

Then I installed windows to the first partition and then installed slack on the second (5gig) partition using linux's fdisk to setup a 128 mb swap (hda2) and then the rest of the 5gigs root (hda3)
I had lilo installed in the MBR of the drive. It said this was potentially dangerous during the slack install and could have been installed in some super 'blah' (can't remember the name).

Did I do something wrong here?
want to be able to dual boot into either win98 or slack


thanks
 
Old 07-23-2002, 10:23 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
Post your /etc/lilo.conf file here ?

And if your Win98 is located on the primary drive oon the first partition, it should look something like this:

other = /dev/hda1
label = DOS
read-only
 
Old 07-23-2002, 11:53 AM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
Are you sure you haven't deleted Windows by accident when partitiong? It's quite easy to check. Create a directory called 'windows' in /mnt. Then use
mount -t vfat /dev/hda1 /mnt/windows
And you should have contents of your Windows partition in /mnt/windows. If there's nothing, you've deleted it somehow...
 
Old 07-23-2002, 08:44 PM   #4
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
when I select my partitions for the slack partition I was using 'primary partitions' with the linux fdsik instead of 'extended'. I used DOS fdisk and it reported my linux partitions as being in front of the WINDOWS parimary partition. I have heard that Windows can't boot like this. Should I have selected extended partitions for thr linux section? In linux fdisk of course.

p.s. I have Redhat on another drive along with Windows and and fdisk report with DOS fdisk gives me>

1. primary fat32 DOS
2. extended unknown Extended DOS

the above is a 30gig divided in 2 parts with DOS fdisk. (25 gigs for Win98 and 5 gigs for Redhat 7.2) and it boots to lilo at computer start-up and lets me select either OS fine. Don't know where I went wrong so far with Slack install.

thank you
 
Old 07-23-2002, 08:45 PM   #5
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
Oh and yes I have'nt deleted windows. And tricky my lilo looks like that of above 'cept for the 'read only' on the DOS part.
 
Old 07-24-2002, 02:43 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
Quote:
Originally posted by purpleburple
when I select my partitions for the slack partition I was using 'primary partitions' with the linux fdsik instead of 'extended'. I used DOS fdisk and it reported my linux partitions as being in front of the WINDOWS parimary partition. I have heard that Windows can't boot like this. Should I have selected extended partitions for thr linux section? In linux fdisk of course.
It looks that's the problem. Windows does not like to have 2 primary partitions on one drive. Simply, it won't boot.
 
Old 07-28-2002, 11:08 PM   #7
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Quote:
Originally posted by Mara

It looks that's the problem. Windows does not like to have 2 primary partitions on one drive. Simply, it won't boot.

Yes it does, I do it all the time. Just don't set them both to "active"!

It's just that Windows' and DOS's fdisk won't allow you to create them.
 
Old 07-28-2002, 11:10 PM   #8
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
Anyway, submit the result of doing:

fdisk -l

(in Linux) and the contents of your /etc/lilo.conf file, and I'm sure we can get you going.
 
Old 07-29-2002, 01:46 AM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
Quote:
Originally posted by wartstew



Yes it does, I do it all the time. Just don't set them both to "active"!

It's just that Windows' and DOS's fdisk won't allow you to create them.
Well, maybe different versions react differently. I had a big problem with it long time ago (DOS 5 or something) and not really long ago (with Windows ME). Both refused to boot.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Just a slight problem. Pendu Debian 6 09-10-2005 06:22 PM
Slight problem installing lg_alucard Arch 0 01-18-2005 09:11 PM
Slight Bash Problem...! perry Linux - Software 3 07-25-2004 01:40 AM
Slight problem with my TV-Out traku Linux - Newbie 0 10-27-2003 07:25 PM
Hello, and a slight problem with WINE linux-addict Linux - Software 19 06-11-2003 12:42 PM


All times are GMT -5. The time now is 11:56 PM.

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