LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-30-2004, 04:17 PM   #16
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47

If you want to try something different, that seems to always work for me on the regular ata controllers......swap the drives. If you install lilo in the first drive, it'll be the linux drive anyways. You can add Windows to the bootloader by "fooling it" into thinking its the first drive. You add
Code:
boot-as=0x80
to the windows line, if its regular ata. 0x80 is the BIOS equiv of first ata drive. I find this to be a better solution as it doesn't replace the win bootloader at all.

If you go into your BIOS screen, does it have the actual hex values of the drives it finds?
 
Old 05-30-2004, 05:21 PM   #17
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Original Poster
Rep: Reputation: 15
That sounds like it would work! Thanks, I will try that tonight, and I'll let you know how it goes!

Thanks,
Erik
 
Old 05-30-2004, 05:23 PM   #18
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
If you can get into Linux, it shouldn't be a problem to get Windows booting too. Good luck.
 
Old 05-30-2004, 09:36 PM   #19
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Original Poster
Rep: Reputation: 15
Ok, so what you are saying is this:

Windows is on my first drive, first and only partition (hde1)
LInux is on my second drive, 4th partition (hdf4)

So you are saying that I should swap the drives with the IDE controllers (which would make hdf4 be hde4, and hde1 would then be hdf1) right? Then after I do that, boot into Linux and then install LILO, but first add "boot-as=0x80" to the Windows section in LILO. What does "boot-as=0x80" mean?

I hope I have this right.

Thanks for your help!
Erik
 
Old 05-30-2004, 09:37 PM   #20
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
the 0x80 will be different for the extra controller. See if the BIOS labels them in hex, like that.
 
Old 05-30-2004, 09:42 PM   #21
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
That might work, though

Here's my simple one:
Code:
# File generated by DrakX/drakboot
# WARNING: do not forget to run lilo after modifying this file

boot=/dev/hda
map=/boot/map
default="linux"
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hdd bios=0x81
image=/boot/vmlinuz
	label="linux"
	root=/dev/hda1
	initrd=/boot/initrd.img
	append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
	vga=788
	read-only
image=/boot/vmlinuz-2.6.3-9mdk
	label="263-9"
	root=/dev/hda1
	initrd=/boot/initrd-2.6.3-9mdk.img
	append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"
	vga=788
	read-only
other=/dev/hdd1
	label="windows"
	boot-as=0x80
I have two kernels, BTW. I always keep the old one until I am sure the new one is okay.

I have Linux on /dev/hda (with no slave, as linux is freedom) and Windows 98 on /dev/hdd (slave to my cdrom, as Win should be)
 
Old 06-01-2004, 12:21 AM   #22
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Original Poster
Rep: Reputation: 15
I think I'm going to try this:
I reformat my 80GB hard drive, I'll put Linux on first, I don't REALLY need Windows except for maybe certain games, so I'll probably create a 10 GB partiton dedicated to Windows. I'll probably create a swap partition, a partition for "/" at about 5-10 GB, and the rest for "/home". That equals 4 total partitions, the maximum amount allowed to be created. Does that sound like a good setup???

Last edited by EThitop; 06-01-2004 at 12:23 AM.
 
Old 06-01-2004, 08:00 AM   #23
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Good plan, but put Windows on first, as it likes to be first. If you do it all from one drive, you should have no trouble installing lilo or grub properly. It should pick up that windows is there and make its own entry. Good luck.
 
Old 06-01-2004, 09:49 PM   #24
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Original Poster
Rep: Reputation: 15
Oh ok, thanks for the tip (about windows being first, i would not have done that lol)...
And about the hex values, were you saying to use those so I wouldn't have to switch the hard drives on the IDE cable? I would specify a hex number with the drive path itself. Am I getting the right idea?
 
Old 06-01-2004, 10:36 PM   #25
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
If you put both on the same drive, as you describe, you won't really have to worry about that. But, yeah, the lilo mini-howto recommends such an action when booting from a drive that's not the first one. Check that page out. It describes what's going on better than I can.



Reading this page, leads me to believe that you may have a utility available to you to determine the bios ids of your drives. Perhaps the website of your ata controller card has a utility to identify your hardware better. If you could get something like that, it'd save you a headache if you want to spread the OS/s over more than one drive.


An even better and faster way to determine your I/O values.

Last edited by vectordrake; 06-01-2004 at 10:45 PM.
 
Old 06-01-2004, 10:46 PM   #26
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Original Poster
Rep: Reputation: 15
Wow, thanks for the quick reply. I think I will do the setup I stated above, but I am glad to know that the other way is possible (booting from the second drive). You have helped a lot! Thankyou so much, I'm going to get things started, too bad I have to install Windows first lol, it takes too long.

I'll be back in a little while.

Thanks again,
Erik
 
Old 06-01-2004, 10:53 PM   #27
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Heh. You don't have to go to Winupdate until after the bootloader is installed. LOL. That'll sve you a bit of time, updating. Good luck with that whole mess. I'm sure you'll know your controller inside out before you know it.
 
Old 06-01-2004, 11:05 PM   #28
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Original Poster
Rep: Reputation: 15
LOL yeah Windows Update.... wow I can't believe it has so much to download to get up to date... Speaking of up to date, I have also been wondering about swaret... I downloaded Slackware 9.1 a while back (which we all know is old, I believe it came out in September). I also downloaded Slackware Current (dated 5/21/04) on, well, the 21st. Unfortunately it looks like you "Vectordrake" don't use Slackware, but I have been wondering, if I tell swaret to retrieve and update to Slackware current then will it update KDE from 3.1.4 to 3.2.3 (or whatever the latest version is)? Hmm, maybe I should create a new thread for this message, but if you do know, thanks!

Erik
 
Old 06-01-2004, 11:10 PM   #29
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
I've only played with swaret a little bit, but it looked promising. I had a bit of a problem when i used it with Vector 4, trying to upgrade to Slack Current. I couldn't get it to point to the right X stuff, as Vector used a different desktop configurator than I'm used to (and I did most of it reading only the configs - no manuals - hey, I am a man, after all - instructions?), but it seemed to upgrade everything spiffy kewl. Its a necessity, as far as I can recommend. You'll have to point your swaret config file to CURRENT instead of 9.1, otherwise your idea won't work. But, if you want it fast and right, I think you're bang on the right path.

Did you expect that answer?
 
Old 06-01-2004, 11:11 PM   #30
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
BTW, IMO, swaret is a necessity! My first successful install was Debian. apt-get spoiled me!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
UT2004 only thing not working now xanas3712 Slackware 1 01-09-2005 04:39 PM
Small thing: starting samba for the first time. ditch* Linux - Networking 5 12-07-2004 08:19 AM
thing to laugh at, the windows time watch blackman890 General 0 10-28-2004 08:56 AM
Compiling kernel for first time, unsure about 1 thing Nigh Unstoppabl Slackware 1 07-15-2004 05:23 AM
the centrino thing isn't working... shadowhunter Linux - Laptop and Netbook 1 09-13-2003 12:44 PM


All times are GMT -5. The time now is 07:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration