Re: [gentoo-user] Windows on a second drive?

2005-09-05 Thread agl
Quoting Mark Knecht [EMAIL PROTECTED]:

 On 9/5/05, Heinz Sporn [EMAIL PROTECTED] wrote:
  Am Montag, den 05.09.2005, 07:17 -0700 schrieb Mark Knecht:
   On 9/5/05, Heinz Sporn [EMAIL PROTECTED] wrote:
Am Montag, den 05.09.2005, 06:38 -0700 schrieb Mark Knecht:
 Hi,
Is it possible to put Windows XP an a second drive in a Linux box
 and have Windows be happy?
   
Should work.
[SNIP A LOT OF STUFF]
...
...
[SNIP A LOT OF STUFF]
 
 If not I could reconfigure the internal cables to share the new drive,
 at least the Win XP drive, on the chipset cables, but I'd prefer not
 to do that it possible.
 
 Thanks in advance for your ideas.
 
 Cheers,
 Mark
 

Mark,
I did what you want to do a few days ago and the system works fine. My steps
where as follows:

1) Want Linux disk as hda, Windows as hdb

2) I had the windows disk already installed, like you, needed to install the
linux setup.

3) Being totally paranoid about my ability to get the drive designations
correct, I totally removed the Windows disk and then did the Linux install.
Loaded Grub into the MBR on the hda.

3a) If I had had two empty disks and wanted one linux, one Windows, I would only
place one disk in the machine at a time, do the appropriate OS install, boot it,
make sure it was working before doing anything else.

4) We now have two disks and two OS's. Linux is on hda, Windows on hdb, both of
which have their own bootloaders and can boot in their own right. I followed the
Grub install process as outlined in the Gentoo install manual, setting up the
Grub.conf file as outlined in Chpt 10, listing 3. I tried to reboot, and Linux
came up. I then tried to reboot into windows and nothing happened.

5) Googling revealed that you need to make Windows think it is on hda when it
is actually on hdb. I added the two lines, as suggested by Alex:

map (hd0) (hd1)
map (hd1) (hd0)

to grub.conf so it became:

title=Windows XP
map (hd0) (hd1)
map (hd1) (hd0)
rootnoverify (hd1,1)
makeactive
chainloader +1

saved, rebooted, selected Windows and it started up. Once you know what to do,
it's quite easy, it's the finding out what to do in the first place that is the
problem ;) Some people mention problems about sharing or overwriting MBR's etc,
don;t worry about it, just set everything up so that they can individually boot
then let Grub handle everything. Any problems, bounce me an email

  Regards,
Andrew

p.s. I'm not sure on the partition on the rootnoverify - read up on that
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] [OT]Throttling/Restricting download speeds

2005-07-17 Thread agl
Hi all,
Here in Australia the internet access plan I have is capped at 12GB
downloads/month during peak hours and then an additional 24GB/month during
offpeak hours, ie 2am - 9am. Rather than sit up until 2am to kick off a
download, I was wondering if it was possible to somehow throttle a connection,
or even a port, so that I could kick off the down load at say 11pm with the
connection throttled to only a few KB/s and then at say 2am, a cron job will
unthrottle it back to its full speed hence making most use of the offpeak time.
I'm currently using gshield on top of iptables as my firewall.

  Any thoughts greatly appreciated.
Andrew
-- 
gentoo-user@gentoo.org mailing list