LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 04-03-2005, 03:55 PM   #1
Noido
Member
 
Registered: Apr 2005
Location: Cambridge, UK
Distribution: Slackware 10.2
Posts: 48

Rep: Reputation: 15
Compaq recovery partition


When I boot my computer into linux everything works fine, the lilo boot loader comes up at startup and gives me the option of windows or linux, but when I select windows, it runs the compaq recovery partition of the hard drive. In DOS this partition is D: and the one I want to boot from is C:

could anyone tell me what file to change to make this happen? my lilo.conf (at least, the relevant part) looks like this, and if it is this that needs to be changed then could somebody tell me how to do it?

# windows bootable partition config begins
other = /dev/hda1
label = windows
table = /dev/hda
#windows bootable partition config ends
image = /boot/vmlinuz
root = /dev/hdb2
label = Linux
read-only
#linux bootable partition config ends
I have two HDDs installed, linux is installed on the primary slave (/dev/hdb2) in partition 2 because I have windows data on hdb1

im not sure of the labels on the partitions on the master drive and if I need to find them out I would appreciate a tip.

thanks in advance

-Noido

Last edited by Noido; 04-03-2005 at 04:10 PM.
 
Old 04-03-2005, 05:36 PM   #2
Noido
Member
 
Registered: Apr 2005
Location: Cambridge, UK
Distribution: Slackware 10.2
Posts: 48

Original Poster
Rep: Reputation: 15
Okay.... So after running the recovery program, but exiting out of it into the windows boot windows now loads as default, but now lilo has completely disappeared..... I can still run Slackware from a boot disk, but I was wondering what exactly how to load either lilo or modify the boot.ini file to get the dual boot options

Thinking out loud helps :P

-Noido
 
Old 04-03-2005, 07:48 PM   #3
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
It looks like the Compaq diagnostics partition is at hda1, since that's what lilo was/is booting. Most likely Windows is installed to hda2, so you should have just added it to you lilo.conf.

But now, you've probably overwritten lilo with the recovery thingy, so you'll need to reinstall lilo. You can use fdisk to figure out what is where. Boot into Slackware and run this command:
Code:
fdisk -l /dev/hda
That will show where Windows is, as well as the Compaq partition. After you know that, then edit your lilo.conf to reflect that. I'm guessing it will be something like this:
Code:
# windows bootable partition config begins
other = /dev/hda2
label = windows
table = /dev/hda
#windows bootable partition config ends
image = /boot/vmlinuz
root = /dev/hdb2
label = Linux
read-only
#linux bootable partition config ends
#Compad Diagnostics
other = /dev/hda1
label = Compaq-Diag
table = /dev/hda
Once you've made the changes then just run "lilo" to reinstall it. If you're installing it to the MBR, then that should do it.
 
Old 04-04-2005, 10:37 AM   #4
Noido
Member
 
Registered: Apr 2005
Location: Cambridge, UK
Distribution: Slackware 10.2
Posts: 48

Original Poster
Rep: Reputation: 15
Ahhh! much better! I tried changing to /dev/hda2 before but it didn't work because I'd already overwritten lilo...... hehe.

thanks you loads the the help!

-Noido
 
  


Reply



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
Partition recovery ElVirolo Linux - Hardware 6 07-30-2005 03:25 AM
partition recovery cgetty Linux - Software 3 04-18-2005 10:03 PM
Compaq system recovery *grrrrrrrrr* urquhartia Linux - Software 1 03-28-2005 02:09 PM
Partition recovery julien.r Linux - Hardware 2 11-19-2003 08:00 AM
partition recovery cshaigh Linux - Software 9 08-26-2001 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration