LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 04:32 PM   #1
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
complicated booting scheme


I'm curious to know if it is possible to do the following:
I have 2 hard drives hda is 75 gig and hdb is 15 gig, I have hda partitioned as follows
hda1=/boot Redhat
hda2=/ Redhat
hda3=/home redhat
hda4=extended
hda5=swap
hda6=empty partition
hda7=fat32
hdb1=/ slackware
hdb2=ntfs
ok, originally I had intended to install windows xp in hda6 but I forgot that windows has to be installed on a primary partition, so now that is space is empty for now, later on I installed slack on hdb1.

I am booting slack by installing lilo on hdb and chainloading it with grub from my mbr on hda.

I intended to install windows on hdb2, but when I booted off the windows cd it didn't like it so I assume that windows needs to be installed on a master.

Anyways so I decided I would make change hdb (the 15 gig) to master just for the windows installation on hdb2 after that I changed the 15 gig back to slave and reinstalled lilo on hdb (with it only pointing to slack.) I tried to point grub to hdb2 (hd1,1) but it wouldn't work so I reinstalled lilo on hdb this time pointing it to both windows and slack. I couldn't boot windows through that method either. So I removed the windows bit from lilo.conf.

So my questions is this: Is there a way for me to boot windows in my current scheme? Is there some other bootloader I could use? Or does windows have to be run on a primary part on the master in addition to it being installed that way? Posted below are my grub.conf and lilo.conf. Any help, pointers, suggestions, thoughts, speculations, etc.. would be greatly appreciated, thanks for your time.

grub.conf (on dev/hda Redhat installed to mbr)
Code:
# added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
default 1
# end added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
timeout=1
splashimage=(hd0,0)/grub/splash.xpm.gz
title Slackware Linux (2.4.21)
	rootnoverify (hd1,0)
	makeactive
	chainloader +1
# added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
title Red Hat Linux (win4lin-enabled 2.4.20-18.8)
	root (hd0,0)
	kernel /win4lin ro root=LABEL=/ hdc=ide-scsi
	initrd /initrd-2.4.20-18.8.img
# end added by NeTraverse - DO NOT REMOVE THIS LINE, it's used for uninstall
lilo.conf (Slackware on hdb1, I removed the windows bit)
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="hdc=ide-scsi"
boot = /dev/hdb1
#compact        # faster, but won't work on all systems.
#prompt
#timeout = 5
# Normal VGA console
vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hdb1
  label = Slackware
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
 
Old 07-28-2003, 06:34 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
My suggestion for straightening out your disk configuration is to switch the master and slave HD drives and change grub, lilo, and /etc/fstab to reflect the new partition arrangement.

Last edited by jailbait; 07-28-2003 at 06:37 PM.
 
Old 07-28-2003, 06:45 PM   #3
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
Thanks, I will try that. I remember thinking that before but for some reason or another I didn't think it would work.
 
Old 07-28-2003, 08:00 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Before you do the switch be sure that you have a working rescue system. It would not take much of a mistake to leave you where you could not boot anything.
 
Old 07-28-2003, 11:34 PM   #5
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
what do you mean a working rescue system? I have boot floppies and also a slackware live cd, is this what you mean?
 
Old 07-29-2003, 09:49 AM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"is this what you mean?"

Yes. You should be able to use the slackware live CD to get back into your system even if your boot loader is broken.
 
Old 07-29-2003, 03:33 PM   #7
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
Oh and one more question, all I have to change is the entries for fstab and grub.conf and lilo.conf right? There isn't anything else that needs to be changed? Just want to make sure.
 
Old 07-29-2003, 03:52 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You will have to install the beginning of your bootloader sequence on the new /dev/hda MBR.
 
Old 07-29-2003, 04:06 PM   #9
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
yeah I understand that
 
  


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
ipw2200 ...this looks complicated jnsg Slackware 7 12-22-2005 11:03 AM
why must linux be so complicated? r_hartless Linux - Newbie 7 07-12-2004 01:50 AM
Complicated Network XTJ7 Linux - Networking 9 05-18-2004 12:48 PM
grub booting scheme mathfeel Linux - Software 0 12-01-2003 06:22 PM
HELP!!!! not too complicated stuff Gnute Slackware 13 05-16-2003 11:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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