Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Install to RAID 0 on etch

 
   Soft32 Home -> Linux -> General Discussions RSS
Next:  [News] [Rival] Microsoft's Vicious Attack on Yaho..  
Author Message
quickgeek

External


Since: Aug 11, 2009
Posts: 2



(Msg. 1) Posted: Tue Aug 11, 2009 7:20 am
Post subject: Install to RAID 0 on etch
Archived from groups: alt>os>linux>debian (more info?)

Hello all,
I have been avoiding 2 aspects of installation in my linux life.

Network boot installation and RAID.
Deciding to tackle my fears I set out a 2 step objective.

The plan is to create a network pxe server for multiple ISOs (Linux and
Win) so I could boot and install over the network. So for this is going
very well and I have succeeded in booting the net installer. Also
discovered the LTSP project on the way and got that working.

The second phase involves installing linux on a strip raid partition
I have been scratching my head on this for a few days now and I wonder
if you have any resources (websites or ebooks) you can point me to for this.

I found some great instructions for RAID 1 (howtoforge website).
I understand I will need a boot (non RAID partition).

Can it be done?
I have a PCI to IDE card which shows both drives (each 40 GB) and so I
am expecting to use software RAID in Linux as opposed to hardware raid
on the card. N0t even sure the card has that feature.

This is just an exercise for me as I practice going from hobbyist to admin.

Any help would be greatly appreciated.
Back to top
Login to vote
Magnate

External


Since: Nov 11, 2008
Posts: 16



(Msg. 2) Posted: Tue Aug 11, 2009 11:20 am
Post subject: Re: Install to RAID 0 on etch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"quickgeek" <quickgeek.DeleteThis@gmail.com> wrote
>
> Hello all,
> I have been avoiding 2 aspects of installation in my linux life.
>
> Network boot installation and RAID.
> Deciding to tackle my fears I set out a 2 step objective.
>
> The plan is to create a network pxe server for multiple ISOs (Linux and
> Win) so I could boot and install over the network. So for this is going
> very well and I have succeeded in booting the net installer. Also
> discovered the LTSP project on the way and got that working.
>
> The second phase involves installing linux on a strip raid partition
> I have been scratching my head on this for a few days now and I wonder
> if you have any resources (websites or ebooks) you can point me to for
> this.
>
> I found some great instructions for RAID 1 (howtoforge website).
> I understand I will need a boot (non RAID partition).
>
> Can it be done?
> I have a PCI to IDE card which shows both drives (each 40 GB) and so I
> am expecting to use software RAID in Linux as opposed to hardware raid
> on the card. N0t even sure the card has that feature.
>
> This is just an exercise for me as I practice going from hobbyist to
> admin.
>
> Any help would be greatly appreciated.

Hi,

I found setting up PXE booting much more challenging than RAID installs, so
IMO you're more than halfway there. The following assumes that you're using
the Debian installer - if you're not, please give full details.

Select expert mode install (type "expert" without quotes at the prompt
before booting the installer)

Go through keyboard selection and disk detection etc. until you get to the
partitioning stage. I'm assuming that you have no existing partitions -
you'll just see your two drives, which I'll call hda and hdb.

On each drive, create a partition (make sure they are the same size). When
you get to assigning mount points, choose "use as physical volume for RAID".

When you have done that for each drive, go to RAID setup (which IIRC is an
option from the main partitioner menu). Choose to set up a single RAID0
array - since you have only prepared two partitions, it should only offer
you those two. Choose them and give it / as the mount point.

Then go back an make the rest of your partitions (swap etc.).

Then exit the partitioner and write all the changes. You should be fine to
continue with the install.

If this doesn't work, give us some details about what goes wrong and we'll
try to help.

CC
Back to top
Login to vote
J G Miller

External


Since: Sep 04, 2003
Posts: 45



(Msg. 3) Posted: Tue Aug 11, 2009 11:20 am
Post subject: Re: Install to RAID 0 on etch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 11 Aug 2009 12:57:33 +0100, QuickGeek wrote:

> I understand I will need a boot (non RAID partition).

In my opinion, it is also better to have / (as well as a separate /boot)
on a non RAID partition and put everything under it /usr, /home, /var, /srv,
etc on the RAID partition or partitions.

This way you can at least boot up the system and access the RAID
repair tools if anything nasty happens with the RAID devices,
otherwise you would have to use a rescue CD/DVD.
Back to top
Login to vote
quickgeek

External


Since: Aug 11, 2009
Posts: 2



(Msg. 4) Posted: Wed Aug 12, 2009 11:20 am
Post subject: Re: Install to RAID 0 on etch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Magnate thanks for your response.
I discovered that etch does not netboot anymore as I get a kernel
mismatch error from the installer.

Now I am using lenny.
I followed your instruction carefully and had problems after I defined
the drives as RAID.

I did not find the IIRC option that would have allowed me to define
mount points like root "/" as stated here:

> When you have done that for each drive, go to RAID setup (which IIRC is
> an option from the main partitioner menu). Choose to set up a single
> RAID0 array - since you have only prepared two partitions, it should
> only offer you those two. Choose them and give it / as the mount point.
>
> Then go back an make the rest of your partitions (swap etc.).

naturally the installer will not let me proceed.
I have noticed a module for MD devices does this have any significance?


Thank you









Magnate wrote:
> "quickgeek" <quickgeek DeleteThis @gmail.com> wrote
>>
>> Hello all,
>> I have been avoiding 2 aspects of installation in my linux life.
>>
>> Network boot installation and RAID.
>> Deciding to tackle my fears I set out a 2 step objective.
>>
>> The plan is to create a network pxe server for multiple ISOs (Linux and
>> Win) so I could boot and install over the network. So for this is going
>> very well and I have succeeded in booting the net installer. Also
>> discovered the LTSP project on the way and got that working.
>>
>> The second phase involves installing linux on a strip raid partition
>> I have been scratching my head on this for a few days now and I wonder
>> if you have any resources (websites or ebooks) you can point me to for
>> this.
>>
>> I found some great instructions for RAID 1 (howtoforge website).
>> I understand I will need a boot (non RAID partition).
>>
>> Can it be done?
>> I have a PCI to IDE card which shows both drives (each 40 GB) and so I
>> am expecting to use software RAID in Linux as opposed to hardware raid
>> on the card. N0t even sure the card has that feature.
>>
>> This is just an exercise for me as I practice going from hobbyist to
>> admin.
>>
>> Any help would be greatly appreciated.
>
> Hi,
>
> I found setting up PXE booting much more challenging than RAID installs,
> so IMO you're more than halfway there. The following assumes that you're
> using the Debian installer - if you're not, please give full details.
>
> Select expert mode install (type "expert" without quotes at the prompt
> before booting the installer)
>
> Go through keyboard selection and disk detection etc. until you get to
> the partitioning stage. I'm assuming that you have no existing
> partitions - you'll just see your two drives, which I'll call hda and hdb.
>
> On each drive, create a partition (make sure they are the same size).
> When you get to assigning mount points, choose "use as physical volume
> for RAID".
>
> When you have done that for each drive, go to RAID setup (which IIRC is
> an option from the main partitioner menu). Choose to set up a single
> RAID0 array - since you have only prepared two partitions, it should
> only offer you those two. Choose them and give it / as the mount point.
>
> Then go back an make the rest of your partitions (swap etc.).
>
> Then exit the partitioner and write all the changes. You should be fine
> to continue with the install.
>
> If this doesn't work, give us some details about what goes wrong and
> we'll try to help.
>
> CC
Back to top
Login to vote
Magnate

External


Since: Nov 11, 2008
Posts: 16



(Msg. 5) Posted: Mon Aug 17, 2009 3:20 pm
Post subject: Re: Install to RAID 0 on etch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"quickgeek" <quickgeek.TakeThisOut@gmail.com> wrote

> Magnate thanks for your response.
> I discovered that etch does not netboot anymore as I get a kernel
> mismatch error from the installer.
>
> Now I am using lenny.

Well don't worry about that - I'm sure it's better to use Lenny.

> I followed your instruction carefully and had problems after I defined
> the drives as RAID.
>
> I did not find the IIRC option that would have allowed me to define
> mount points like root "/" as stated here:
>
>> When you have done that for each drive, go to RAID setup (which IIRC is
>> an option from the main partitioner menu). Choose to set up a single
>> RAID0 array - since you have only prepared two partitions, it should
>> only offer you those two. Choose them and give it / as the mount point.
>>
>> Then go back an make the rest of your partitions (swap etc.).
>
> naturally the installer will not let me proceed.

Ok, your phrase "defined the drives as RAID" has two parts, and it looks
like you have only done one of them:

1. Create a partition on each drive and choose "Use as physical volume for
RAID" then "Done setting up the partition".

2. Choose "configure RAID" and create a RAID0 array and select the two
partitions from #1 as its component parts.

If you do both of these two successfully, and then go back to the
partitioner menu, you should see a new partition called /dev/md0 on the
list, either above or below the partions of the individual drives. Select
this new partition (it is your RAID0 array) and you should be able to set
its mount point.

> I have noticed a module for MD devices does this have any significance?

Yes, but you shouldn't have to do anything about this - the installer will
load it automatically.

Keep trying,

CC
Back to top
Login to vote
Display posts from previous:   
Related Topics:
printer - is brother better than hp for debian? i want all in one.

printer - all in one is brother better easier than hp to run?

How to download youtube video into Adobe Premiere - How to download youtube video into Adobe Premiere I like to lounge around online and youtube is my favorite. Sometimes...

How to install ETCH - I'm trying to install ETCH on my HP ZX2000 I tried the ETCH beta net install but it couldn't find the CDROM and would g...

debootstrap install with etch - This has got to be the most problematic install I've ever had, I think. I have no idea how many times I've had to reboo...

Successfull Etch install on a Multia - People, Just to let you know, after the long thread that took place here last month, that I managed to successfully..
       Soft32 Home -> Linux -> General Discussions All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]