LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-13-2004, 09:45 PM   #1
Ruzhyo
LQ Newbie
 
Registered: May 2004
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Question Advanced Lilo dual boot help


Hello! I've been running slackware 9.1 on a 40GB hard drive (master), and windows98 on another 40GB hard drive (slave) - been using lilo to boot between the two, and has been working fine.

Now I purchased a 160GB hard drive, and want to put slackware and windows on the same hard drive. I have partitioned it with /dev/hda1 for /, /dev/hda5 as swap, /dev/hda3 for /home, and /dev/hda4 as FAT32 for windows.

So I moved all of the slackware files over to the new 160GB hard drive, booted from the live CD, and installed lilo, so now slackware is running great, so next, while I was in linux, moved all of my windows files from my old windows hard drive to the new fat32 partition /dev/hda4. I have been fighting with lilo to let me boot into windows on that partion, but it gives me the error "Invalid System Disk." and then "Please remove and press return to continue." or something along those lines. Yes, I made triple sure there is nothing in the floppy drive or CD drives :)

Basically, my question is, can you boot to windows if it's not installed on the first partition of a hard drive - in my case /dev/hda4 ? Anyone have some lilo tricks for me? My extensive google-ing has failed me this time. Thanks in advance.

===================================================
Here's my layout right now:
Master Hard Drive (160GB E-IDE):
/dev/hda1 ... ext3 ... /
/dev/hda5 ... swap
/dev/hda3 ... ext3 ... /home
/dev/hda4 .... fat32 .... windows files

Slave Hard Drive (40GB E-IDE)
/dev/hdb1 ... fat32 ... windows files

Here's my current lilo.conf:====================================

boot = /dev/hda
prompt
timeout = 100

change-rules
reset

# VESA framebuffer console @ 1024x768x64k
vga=791

bitmap=/boot/bootPic.bmp
bmp-table=114p,347p,2,7 # label position on the screen p=pixel

image = /boot/bzImage-2.6.4 # my current 2.6 kernel - works great
label=Linux-2.6.4
root=/dev/hda1
read-only
append="hdd=ide-cd"

other = /dev/hdb1 # This works just fine - my old windows hard drive & files
label = OldWin98
boot-as = 0x80

other = /dev/hda4 # Exact same files as /dev/hdb1, but won't boot. No idea what to do
label = NewWin98
table=/dev/hda


image = /boot/vmlinuz # my old, stable 2.4 kernel - just in case ;-)
root = /dev/hda1
label = Linux-2.4.22
read-only
 
Old 05-14-2004, 02:13 AM   #2
arvind_sv
Member
 
Registered: Oct 2002
Location: Bangalore
Distribution: Gentoo Linux
Posts: 96

Rep: Reputation: 16
Hi,

Check this thread. I don't know if it'll help. My reply there might help you (especially lba32).

http://www.linuxquestions.org/questi...hreadid=176851

Arvind
 
Old 05-14-2004, 03:26 AM   #3
nerdstat
LQ Newbie
 
Registered: Apr 2004
Location: Brussels, Belgium
Distribution: Gentoo with 2.6.8-kernel
Posts: 15

Rep: Reputation: 0
Are you sure you can simply copy all those windows files from one partition to the other? That it works with Linux, I can fully understand, but with windows...
 
Old 05-14-2004, 04:07 AM   #4
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
No, it won't work, not to copy an Windows install.

Do you have a backup program like Ghost? If so, you could Ghost the Windows partition to move it (maybe), but really, the thing to do would be to reinstall Windows to the new partition.
 
Old 05-15-2004, 12:37 AM   #5
Ruzhyo
LQ Newbie
 
Registered: May 2004
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks anyways guys - figured out a workaround my moving around some partitions and such.... Now I've got a triple boot: Slackware 9.1, Windows98, and just got Gentoo installed - emerging kde right now..... Going to add FreeBSD tomorrow, probably - going for a Quadruple boot - W00t! ;-)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need dual boot help...LILO..Winxp wont boot Scrag Linux - Hardware 2 09-01-2004 12:26 AM
Lilo lost, Install disk failing to restore Lilo on dual boot? Dobie Linux - Newbie 2 05-05-2004 05:00 PM
should i use LILO? - no dual boot Abdulla Linux - Newbie 6 07-13-2003 04:04 PM
lilo rh 8.0 xp dual boot TakuanSo_Ho Linux - Software 3 02-14-2003 09:23 PM
Dual Boot, Lilo Nikta Linux - Software 1 11-28-2001 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:15 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