Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Ow Mun Heng
On Mon, 2005-02-28 at 20:45 -0700, Collins Richey wrote:
 On Mon, 28 Feb 2005 21:17:23 -0600, [EMAIL PROTECTED]
 One gotcha: be sure to remember which partition contains the active
 grub.conf Once I decided to remove a partition to install another
 distro, but I forgot that that partition was the active grub.conf. No
 bootie until I used the recovery CDROM.
 

Funny.. I have RH9/FC2/Gentoo/XP on my drive and all of it is booted
through 1 grub.conf.


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 17:24:41 up 8:09, 6 users, load average: 0.18, 0.34, 0.33 


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Bill Davidson
On 21:32 Mon 28 Feb , Bo Grimes wrote:
 First, thanks for all the feedback on video cards.
 
 I am about to attempt my first Gentoo install, and I plan on taking it 
 very slowly since the whole reason I want to go Gentoo is to find my 
 last distro, optimize it for my system and learn as much as possible in 
 the process.
 
 However, I don't want to have to run to the kids' XP computer every time 
 I want to use the forums, post to the list or go to irc.
 
 Right now I have Linux on hdb3 and Windows 98 on hda1 with a FAT32 
 partition for Windows apps on hdb1. HDB2 is swap. I want to keep the 6 
 gig hda1 with Windows just for a few educational games my kids still use 
 that wouldn't run on XP, but I want to use hdb1 for Gentoo.
 
 I have never put two versions of Linux on one computer.  I want to keep 
 hdb3 for my use while installing Gentoo on hdb1.  Is this do-able?  Are 
 there any pitfalls to watch out for?

Yes, you can do this. In fact, if you follow the alternate install guide in
the gentoo handbook, you can install gentoo from your other distro.

Bill
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Mon, 28 Feb 2005, Bo Grimes wrote:
Right now I have Linux on hdb3 and Windows 98 on hda1 with a FAT32 partition 
for Windows apps on hdb1. HDB2 is swap. I want to keep the 6 gig hda1 with 
Windows just for a few educational games my kids still use that wouldn't run 
on XP, but I want to use hdb1 for Gentoo.
This will work fine, grub can handle plenty of multiboot situations.

I have never put two versions of Linux on one computer.  I want to keep hdb3 
for my use while installing Gentoo on hdb1.  Is this do-able?  Are there any 
pitfalls to watch out for?
Well, one obvious pitfall is accidentally formatting the wrong partition 
(guilty of that ONCE, and ONCE only) =)

In my time of using linux, I've found the easiest way to multiboot 
different distributions is to share a common /boot between them all, where 
you put all your kernels into that partition, and have a single grub.conf 
for everything (Which can be managed from any of the distributions).

In my ideal partition scheme for multiple distros on hdb, with windows on 
hda I would have the following partition scheme:

Grub installed on the MBR of hda
hda1 is a windows partition
hdb1 /boot
hdb2 SWAP
hdb3 / for distro 1
hdb4 / for distro 2
Note that you can setup extended partitions if you want to break out /home 
and share that between distro's.

your grub.conf would be similar to:
default 0
timeout 10
splashimage=(hd1,0)/grub/splash.xpm.gz
title=distro1
root (hd1,0)
kernel /distro1-2.6.10 root=/dev/hdb3
title=distro2
root (hd1,0)
kernel /distro2-2.6.8.1 root=/dev/hdb4
title=Windows
root (hd0,0)
chainloader +1

This method will scale up to as many drives and distro's as you can toss 
into the machine.

Hope this gets you on your way,
Christopher Fisk
--
If you want to stay dad you've got to polish your image. I think the image
we need to create for you is repentant but learning.
-- Calvin
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Neil Bothwick
On Tue, 1 Mar 2005 09:36:05 -0500 (EST), Christopher Fisk wrote:

 In my time of using linux, I've found the easiest way to multiboot 
 different distributions is to share a common /boot between them all,
 where  you put all your kernels into that partition, and have a single
 grub.conf  for everything (Which can be managed from any of the
 distributions).

The other way, which works especially well when you are continually
adding and removing distros, is to set up your main distro normally, then
install the bootloader for the other distros into the root partition of
that distro, instead of the MBR. Then you only need the following entry in
grub.conf to boot the alternate distro and nothing else on your main setup
is touched.

title Some other distro
root (hdX,Y)
chainloader +1


-- 
Neil Bothwick

If a parsley farmer is sued, can they garnish his wages?


pgp5Rpp48pfqd.pgp
Description: PGP signature


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Bo Grimes
Bill Davidson wrote:
Yes, you can do this. In fact, if you follow the alternate install guide in the 
gentoo handbook, you can install gentoo from your other distro.
Thanks to all for the input thus far.  I knew I could dual-boot, because 
I am, but I have never run two Linux versions on the same drive, but it 
doesn't sound vastly different, so thanks again for the help, especially 
some of the partitioning examples.

Regarding the above, I have been reading the handbook and saw that 
possibility.  My primary concern right now isn't to just get Gentoo 
running; it's to get a real Linux education.  Would installing from my 
current distro accomplish that just as well, y'all think?

TIA.  I'll take my answer off the air. :-)
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Neil Bothwick wrote:
The other way, which works especially well when you are continually
adding and removing distros, is to set up your main distro normally, then
install the bootloader for the other distros into the root partition of
that distro, instead of the MBR. Then you only need the following entry in
grub.conf to boot the alternate distro and nothing else on your main setup
is touched.
title Some other distro
root (hdX,Y)
chainloader +1
The disadvantage of this is that you need to have a working bootloader on 
each partition, and if you install a bootloader incorrectly for that 
distribution of the day, you can wipe out your existing bootloader.

Certainly go with whatever you feel most comfortable with, but I'm the 
type of person who would prefer to have all my kernels in one place.

Another advantage to this (Assuming the same version of gcc is used for 
each distribution) is that you can use the same kernel for every 
distribution.

Christopher Fisk
--
It must be awful to be a girl. I'm sure it's frustrating knowing that men 
are bigger, stronger and better at abstract thought than women.  Really, 
if you are a girl, what would make you go on living?
	--Calvin, Dictator-For-Life, of GROSS (Get Rid Of Slimy girlS)



--
Cop: He's making a break for it. Get him! 
Fry: No, no, I was just picking my nose. 
Cop: He's picking his nose. Get him!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Neil Bothwick
On Tue, 1 Mar 2005 10:30:38 -0500 (EST), Christopher Fisk wrote:

  The other way, which works especially well when you are continually
  adding and removing distros, is to set up your main distro normally,
  then install the bootloader for the other distros into the root
  partition of that distro, instead of the MBR.

 The disadvantage of this is that you need to have a working bootloader
 on  each partition, and if you install a bootloader incorrectly for that
 distribution of the day, you can wipe out your existing bootloader.

What fun is life without a little danger :)

As with the other methods proposed, you should always keep a backup of
your existing boot setup.

 Certainly go with whatever you feel most comfortable with, but I'm the 
 type of person who would prefer to have all my kernels in one place.

When testing distros, I prefer to keep the whole distro in one place,
instead of mixing files from different distros in one partition. I have
done it this way, but keeping them separate makes for easier removal. If
you need to have two or more distros permanently installed, integrating
them as you suggest makes more sense, although in that case,  prefer to
have the secondary distros in VMWare to save rebooting to get at hem.

 Another advantage to this (Assuming the same version of gcc is used for 
 each distribution) is that you can use the same kernel for every 
 distribution.

Some distros expect you to be using their, often heavily, patched kernels
and may fall over when running without some of those patches.


-- 
Neil Bothwick

Top Oxymorons Number 44: Advanced BASIC


pgpTpVkRjwzia.pgp
Description: PGP signature


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Bo Grimes
Neil Bothwick wrote:
The other way, which works especially well when you are continually
adding and removing distros, is to set up your main distro normally, then
install the bootloader for the other distros into the root partition of
that distro, instead of the MBR. 

Right now my MBR is on my Windows drive (hda1), and Linux is on my 
second drive.  (I don't remember if it's slaved or not or if it matters).

This being the case, is my memory correct that the bios will try to boot 
from hda, and if I put Grub on my current Linux distro instead of the 
MBR, I'll have problems?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Neil Bothwick wrote:
On Tue, 1 Mar 2005 10:30:38 -0500 (EST), Christopher Fisk wrote:
What fun is life without a little danger :)
You are asking that of a person who makes a living at IT?  I much prefer a 
nice boring day than a Fix it or your fired day.


As with the other methods proposed, you should always keep a backup of
your existing boot setup.
Here is one for the archives:
#This will backup the MBR, but *NOT* the partition table
dd if=/dev/hda of=mbr.bin bs=448 count=1
#This will backup the MBR + Partition tables
dd if=/dev/hda of=mbr.bin bs=512 count=1
you can restore by going the other way.
Or, if you aren't sure which you'll need, just backup the whole thing
dd if=/dev/hda of=mbr.bin bs=512 count=1
And you can restore the whole thing if needed.  Or, if you only need the 
boot loader, you can just do the first 448 of that mbr.bin

dd if=mbr.bin of=/dev/hda bs=448 count=1
Backups *ARE* run. =)

When testing distros, I prefer to keep the whole distro in one place,
instead of mixing files from different distros in one partition. I have
done it this way, but keeping them separate makes for easier removal. If
you need to have two or more distros permanently installed, integrating
them as you suggest makes more sense, although in that case,  prefer to
have the secondary distros in VMWare to save rebooting to get at hem.
Perhaps I'm just past the part where screwing with partitions bothers me. 
Experiance is key in that department.

Another advantage to this (Assuming the same version of gcc is used for
each distribution) is that you can use the same kernel for every
distribution.
Some distros expect you to be using their, often heavily, patched kernels
and may fall over when running without some of those patches.
Bah, first thing I do is to get the latest vanilla kernel and use that.
Christopher Fisk
--
BOFH Excuse #195:
We only support a 28000 bps connection.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Neil Bothwick
On Tue, 1 Mar 2005 11:06:28 -0500 (EST), Christopher Fisk wrote:

  When testing distros, I prefer to keep the whole distro in one place,
  instead of mixing files from different distros in one partition. I
  have done it this way, but keeping them separate makes for easier
  removal. If you need to have two or more distros permanently
  installed, integrating them as you suggest makes more sense, although
  in that case,  prefer to have the secondary distros in VMWare to save
  rebooting to get at them.
 
 Perhaps I'm just past the part where screwing with partitions bothers
 me.  Experiance is key in that department.

Screwing with partitions doesn't bother me either, I'm always resizing
the moving them. My approach doesn't make any difference in that respect,
it just makes removing the whole distro easier if it does not have files
mixed in with those from other distros.

When I had two distros installed long term, i booted them both for the
same /boot partition.


-- 
Neil Bothwick

I am Barney of Borg: I love you. You love me. We're a happy Borg.


pgpFW1RtiCa8u.pgp
Description: PGP signature


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Neil Bothwick
On Tue, 01 Mar 2005 10:39:31 +, Bo Grimes wrote:

 The other way, which works especially well when you are continually
 adding and removing distros, is to set up your main distro normally,
 then install the bootloader for the other distros into the root
 partition of that distro, instead of the MBR. 
 
 Right now my MBR is on my Windows drive (hda1), and Linux is on my 
 second drive.  (I don't remember if it's slaved or not or if it
 matters).
 
 This being the case, is my memory correct that the bios will try to boot
 from hda, and if I put Grub on my current Linux distro instead of the 
 MBR, I'll have problems?

You must already have a suitable bootloader running on hda in order to be
able to boot your current distro. I'm suggesting you install the
bootloader to the root partition for your NEW distro, then chainload that
from your current bootloader. It means you don't have to disturb your
existing boot setup, so you shouldn't have any problems.


-- 
Neil Bothwick

We shall shortly be landing. Please return your stewardess to
the upright position.


pgpjd6s1G1Cc6.pgp
Description: PGP signature


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Bo Grimes
Neil Bothwick wrote:
I'm suggesting you install the bootloader to the root partition for your NEW distro, then chainload that from your current bootloader. 

I see.  Chainloading is a new concept to me.  I assume it means what 
it sounds like it means, so I will research this more. Thanks a bunch!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Antoine
Bo Grimes wrote:
Bill Davidson wrote:
Yes, you can do this. In fact, if you follow the alternate install 
guide in the gentoo handbook, you can install gentoo from your other 
distro.

Thanks to all for the input thus far.  I knew I could dual-boot, because 
I am, but I have never run two Linux versions on the same drive, but it 
doesn't sound vastly different, so thanks again for the help, especially 
some of the partitioning examples.

Regarding the above, I have been reading the handbook and saw that 
possibility.  My primary concern right now isn't to just get Gentoo 
running; it's to get a real Linux education.  Would installing from my 
current distro accomplish that just as well, y'all think?
I would definitely suggest this path. That way you can have a window 
open with the handbook. If you have a laptop or another machine that 
might do but I would install this way next time (you won't be 
reinstalling gentoo very often, that is for sure!).
Installing Gentoo, in any manner, will teach you more about linux in a 
day than you would learn in many moons with anything else (except maybe 
LFS, but that wouldn't take a day!). Just get stuck in. It is one of 
those never look back things. Have a bootable (knoppix or the Gentoo 
livedisk) handy in case you install over the bootloader. I have never 
really been interested in Grub cos it is more complicated than lilo, and 
lilo has never given me any probs at all (I always install to mbr as well).
Cheers
Antoine
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Antoine wrote:
I have never really been interested in Grub cos it is more complicated 
than lilo, and lilo has never given me any probs at all (I always 
install to mbr as well).

One huge advantage of grub over lilo is the fact that you can edit the 
boot choices from within grub, so if you find out you typo'd something, 
you can edit it and still get in without booting to a rescue disk.

Christopher Fisk
--
BOFH Excuse #345:
Having to manually track the satellite.
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Luis F. Araujo
Christopher Fisk wrote:
On Tue, 1 Mar 2005, Antoine wrote:
I have never really been interested in Grub cos it is more 
complicated than lilo, and lilo has never given me any probs at all 
(I always install to mbr as well).

One huge advantage of grub over lilo is the fact that you can edit the 
boot choices from within grub, so if you find out you typo'd 
something, you can edit it and still get in without booting to a 
rescue disk.

Christopher Fisk
As far as i know lilo needs to record the address in the HD where the 
kernel is located,
make it very hardware-depedent, that's why even if you change a minimal 
option in the kernel
(for example tweaking a few things in .config), you need to re-run lilo.

Instead GRUB lets that job to the filesystem itself, (specifying root 
partition), so even
if you do big changes to the kernel, as long as you don't change the 
filename (if you do,
you only need to edit menu.lst) things will work fine without touching grub.

I really recommend Grub, probably it is a bit tricky to understand it at 
first (but hey!,
lilo doesn't look _that_ easy either) ,but you won't find any 
un-answered question in
the info pages, 20 minutes carefully reading it will save you hours and 
days of booting
problems (it has happened to me).

Regards,

--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread gottlieb
At Tue, 01 Mar 2005 11:06:28 -0500 (EST) Christopher Fisk [EMAIL PROTECTED] 
wrote:

 And you can restore the whole thing if needed.  Or, if you only need
 the boot loader, you can just do the first 448 of that mbr.bin

 dd if=mbr.bin of=/dev/hda bs=448 count=1

Thanks for this.  I hadn't realized that dd would do a
read-modify-write to write a partial sector.

allan
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Christopher Fisk
On Tue, 1 Mar 2005, Collins Richey wrote:
You probably love emacs, too grin.
I still don't know why someone would want to run an Operating system like 
emacs inside of thier operating system of Linux.  But I digress...

:w!
ZZ
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Neil Bothwick
On Tue, 1 Mar 2005 14:33:33 -0500 (EST), Christopher Fisk wrote:

 I still don't know why someone would want to run an Operating system
 like  emacs inside of thier operating system of Linux.  But I digress...

Because without Linux they wouldn't have a text editor :)


-- 
Neil Bothwick

God said, div D = rho, div B = 0, curl E = - @B/@t, curl H = J + @D/@t, 
and there was light.


pgpD1nlDpaGiK.pgp
Description: PGP signature


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Neil Bothwick
On Tue, 01 Mar 2005 15:25:24 -0400, Luis F. Araujo wrote:

 As far as i know lilo needs to record the address in the HD where the 
 kernel is located,
 make it very hardware-depedent, that's why even if you change a minimal 
 option in the kernel
 (for example tweaking a few things in .config), you need to re-run lilo.

Which also makes it impossible to change the settings from another OS.

Now that GRUB provides a one-time boot option for a new kernel, essential
when working remotely, I don't see any advantage to LILO beyond familiarity.


-- 
Neil Bothwick

If it doesn't move, eat it. If it moves, kill it. Then eat it.


pgpMECVyVIo3y.pgp
Description: PGP signature


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Nick Rout

On Tue, 01 Mar 2005 15:25:24 -0400
Luis F. Araujo wrote:

 As far as i know lilo needs to record the address in the HD where the 
 kernel is located,
 make it very hardware-depedent, that's why even if you change a minimal 
 option in the kernel
 (for example tweaking a few things in .config), you need to re-run lilo.

Thats right, more particularly the lilo bootloader does not understand
filesystems at all. It understands raw blocks on the hard drive.

When you run lilo (the executable not the bootloader)  after changing
the config file or installing a new kernel it records the block numbers
of the kernel file (and the initrd if there is one i guess?) into a map.

On boot the lilo boot loader can read the map and say give me blocks
123,124  536 on the first hard drive, I am gonna treat that as a kernel and 
try and boot it

This has two corollaries:

1. if you install a new kernel, even with the same name, it is going to
be on different blocks on the hard drive and you need to re-run lilo to
get a new map created

2. when you run lilo *all* of the kernels in your lilo.conf have to be
on filesystems that are mounted, or else lilo cannot create the map.


OTOH grub understands (many) filesystems [1], and you can tell it the
kernel is (hd0,1)/boot/vmlinuz - it will find that file even if you
delete the old vmlinuz and install a new one on different disk blocks.


[1] on my server at work grub has stage 1.5 files for the following
filesystems: ext2/3,jfs,xfs,minix,fat,vstafs (whatever that is),ffs
(ditto) and reiser. This does raise the option of having grub and its
menu file on a dos/win partition so that you can amend the menu from
windows or from linux. handy
 
 Instead GRUB lets that job to the filesystem itself, (specifying root 
 partition), so even
 if you do big changes to the kernel, as long as you don't change the 
 filename (if you do,
 you only need to edit menu.lst) things will work fine without touching grub.

-- 
Nick Rout
Barrister  Solicitor
Christchurch
http://www.rout.co.nz
[EMAIL PROTECTED]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Neil Bothwick
On Wed, 02 Mar 2005 09:45:58 +1300, Nick Rout wrote:

 [1] on my server at work grub has stage 1.5 files for the following
 filesystems: ext2/3,jfs,xfs,minix,fat,vstafs (whatever that is),ffs
 (ditto)

ffs is the Amiga Fast FileSystem.


-- 
Neil Bothwick

There's more to life than sex, beer and computers. 
Not a lot more admittedly...


pgp1jWTWZ58yw.pgp
Description: PGP signature


Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Volker Armin Hemmann
On Tuesday 01 March 2005 20:33, Collins Richey wrote:
 On Tue, 01 Mar 2005 20:20:37 +0100, Antoine [EMAIL PROTECTED] wrote:

 I have never

  really been interested in Grub cos it is more complicated than lilo


 You probably love emacs, too grin.

I love xemacsgrub.

But it is ok, to prefer nano to emacs. Really.  
As long as you are not using vi(m) ;)

jokes aside. 

Grub is a lot user friendlier than lilo. It is hard to set both of  them up 
for the first time, but Grub is a lot less sensitive than lilo.

If you forgot to rerun lilo or put the kernel in the conf, you are screwed. 
Happy bootdisk searching!
I suspect every lilo-user has forgotten this at least one time.

If you forgot to put the kernel in your menu.lst, you can easily edit the boot 
line and everything will work fine. And no need to rerun something. You can 
make errors with grub, and still boot and that makes it so friendly.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-03-01 Thread Bill Davidson
On 10:22 Tue 01 Mar , Bo Grimes wrote:
 Bill Davidson wrote:
 
 Yes, you can do this. In fact, if you follow the alternate install guide 
 in the gentoo handbook, you can install gentoo from your other distro.
 
 Regarding the above, I have been reading the handbook and saw that 
 possibility.  My primary concern right now isn't to just get Gentoo 
 running; it's to get a real Linux education.  Would installing from my 
 current distro accomplish that just as well, y'all think?

I'd say so. One of the main advantages however is that you have a running
system while installing gentoo. Installation from a live cd means that unless
you have another machine, you have to wait until gentoo is installed before
you can do anything.

My $0.02
Bill
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-02-28 Thread Raphael Melo
Yes, it is doable, it would be a problem if they were in the same
partition, but that doesn't seem to be your case.


On Mon, 28 Feb 2005 21:32:16 +, Bo Grimes [EMAIL PROTECTED] wrote:
 First, thanks for all the feedback on video cards.
 
 I am about to attempt my first Gentoo install, and I plan on taking it
 very slowly since the whole reason I want to go Gentoo is to find my
 last distro, optimize it for my system and learn as much as possible in
 the process.
 
 However, I don't want to have to run to the kids' XP computer every time
 I want to use the forums, post to the list or go to irc.
 
 Right now I have Linux on hdb3 and Windows 98 on hda1 with a FAT32
 partition for Windows apps on hdb1. HDB2 is swap. I want to keep the 6
 gig hda1 with Windows just for a few educational games my kids still use
 that wouldn't run on XP, but I want to use hdb1 for Gentoo.
 
 I have never put two versions of Linux on one computer.  I want to keep
 hdb3 for my use while installing Gentoo on hdb1.  Is this do-able?  Are
 there any pitfalls to watch out for?
 
 TIA
 --
 gentoo-user@gentoo.org mailing list
 

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-02-28 Thread afabian
On Mon, Feb 28, 2005 at 09:32:16PM +, Bo Grimes wrote:

 Right now I have Linux on hdb3 and Windows 98 on hda1 with a FAT32 
 partition for Windows apps on hdb1. HDB2 is swap. I want to keep the 6 
 gig hda1 with Windows just for a few educational games my kids still use 
 that wouldn't run on XP, but I want to use hdb1 for Gentoo.
 
 I have never put two versions of Linux on one computer.  I want to keep 
 hdb3 for my use while installing Gentoo on hdb1.  Is this do-able?  Are 
 there any pitfalls to watch out for?

There are a lot of gotchas to multi-booting x86 machines; the
architecture just wasn't designed for it. I'd say the answer is a
qualified yes, it should work. But you should expect to spend some
quality time with this and have complete back-ups, and know how to
restore them, if there's anything you want to save.  That's the only
pitfall you really have to worry about.  Back the data up or consider
it lost when you start.

-- 
Adam Fabian ([EMAIL PROTECTED])
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-02-28 Thread George Roberts
Bo Grimes wrote:
First, thanks for all the feedback on video cards.
I am about to attempt my first Gentoo install, and I plan on taking it 
very slowly since the whole reason I want to go Gentoo is to find my 
last distro, optimize it for my system and learn as much as possible 
in the process.

However, I don't want to have to run to the kids' XP computer every 
time I want to use the forums, post to the list or go to irc.

Right now I have Linux on hdb3 and Windows 98 on hda1 with a FAT32 
partition for Windows apps on hdb1. HDB2 is swap. I want to keep the 6 
gig hda1 with Windows just for a few educational games my kids still 
use that wouldn't run on XP, but I want to use hdb1 for Gentoo.

I have never put two versions of Linux on one computer.  I want to 
keep hdb3 for my use while installing Gentoo on hdb1.  Is this 
do-able?  Are there any pitfalls to watch out for?

TIA
--
gentoo-user@gentoo.org mailing list

I have windowsXP, Mandrake 10.1 and Gentoo all on the same computer, 
with no problems (other than the ones I create).
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Two Distros, One Drive

2005-02-28 Thread Phil Sexton
On Mon, 2005-02-28 at 22:17, [EMAIL PROTECTED] wrote:

 There are a lot of gotchas to multi-booting x86 machines; the
 architecture just wasn't designed for it. I'd say the answer is a
 qualified yes, it should work. But you should expect to spend some
 quality time with this and have complete back-ups, and know how to
 restore them, if there's anything you want to save.  That's the only
 pitfall you really have to worry about.  Back the data up or consider
 it lost when you start.

I am forced to disagree with you about this

I thought that it was the software (Microsoft) that just wasn't
designed for it.

Well, I run Windows XP Pro, Fedora Core 1 and Gentoo (and I have
partitions prepared for 2 more distros) with no problems (well, a couple
or several in Windows XP Pro).  I still am working on some
configurations in Gentoo, though, but I am confident that I can get the
last few things fixed in Gentoo.

I use my /boot, /home and /pub (storage) partitions in common with the
Linux distros.

Here is my partitioning scheme:

Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device BootStart   EndBlocks   Id  System
/dev/hda1   * 110 80293+  83  Linux
/dev/hda211   254   1959930   83  Linux
/dev/hda3   255   316498015   83  Linux
/dev/hda4   317 10011  77875087+   5  Extended
/dev/hda5   317  1290   7823623+  83  Linux
/dev/hda6  1291  1899   4891761   83  Linux
/dev/hda7  1900  2508   4891761   83  Linux
/dev/hda8  2509  3117   4891761   83  Linux
/dev/hda9  3118 10011  55376023+  83  Linux
 
Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device BootStart   EndBlocks   Id  System
/dev/hdb1   * 1 7 56196   83  Linux
/dev/hdb2 8   130987997+  83  Linux
/dev/hdb3   131   143104422+  83  Linux
/dev/hdb4   144 19457 1551397055  Extended
/dev/hdb5   144  1056   7333641   83  Linux
/dev/hdb6  1057  1665   4891761   83  Linux
/dev/hdb7  1666  2274   4891761   83  Linux
/dev/hdb8  2275  2883   4891761   83  Linux
/dev/hdb9  2884  3492   4891761   83  Linux
/dev/hdb10 3493  4101   4891761   83  Linux
/dev/hdb11 4102  8357  34186288+  83  Linux
/dev/hdb12 8358 19457  89160718+  83  Linux

My /etc/fstab files (hdc is a removable hard disk drive):

# Duron 950 Fedora Core 1 tinwhistle /etc/fstab file
/dev/hda8   /   ext3defaults   
1 1
/dev/hda1   /boot   ext3defaults   
1 2
none/dev/ptsdevpts  gid=5,mode=620 
0 0
/dev/hdb11  /home   ext3defaults   
1 2
none/proc   procdefaults   
0 0
none/dev/shmtmpfs   defaults   
0 0
/dev/hdb12  /pubext3defaults   
1 2
/dev/hda2   swapswapdefaults   
0 0
/dev/cdrom  /mnt/cdrom  udf,iso9660 noauto,owner,kudzu,ro  
0 0
/dev/fd0/mnt/floppy autonoauto,owner,kudzu 
0 0
#/dev/hdb8  /mnt/fc2ext3defaults   
1 2
#/dev/hdb9  /mnt/fc3ext3defaults   
1 2
#/dev/hdc1  /mnt/backup ext3defaults   
1 2
#/dev/hdc1  /mnt/wavext3defaults   
1 2
#/dev/hdc1  /mnt/fat32  vfatdefaults   
0 0

# Duron 950 Gentoo tinwhistle /etc/fstab file: static file system
information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14
2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally
aren't
# needed; notail increases performance of ReiserFS (at the expense of
storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

 
# fs  mountpointtype  opts 
dump/pass

 
# NOTE: If your BOOT partition is ReiserFS, add the notail option to
opts.
/dev/hda1   /boot   ext3noauto,noatime 
1 1
/dev/hda3   /   ext3noatime
1 2
/dev/hda2   noneswapsw 
0 0
/dev/hda5   /usrext3noatime  

Re: [gentoo-user] Two Distros, One Drive

2005-02-28 Thread maxim wexler


 I have never put two versions of Linux on one
 computer.  I want to keep 
 hdb3 for my use while installing Gentoo on hdb1.  Is
 this do-able?  Are 

the grub.conf.example IIRC covers this issue

 there any pitfalls to watch out for?

not really, as long as you have suitable boot media  
can mount a partition and make the necessary
repairs/edits.

-mw



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
--
gentoo-user@gentoo.org mailing list