The START_MB and END_MB variables should be the problem, cause maybe
they are used in next parted command.Have you commented them too? Can
you send the errors you get?
However,even if it's not a clean solution, the one that i have sent 
before should work (infact mkpart does not clean or modify the
partition).
Samuele

On Thu, 2004-10-14 at 12:53, Ghe Rivero wrote:
>  --- Ramon Bastiaans <[EMAIL PROTECTED]> escribi�: 
> > From parted's mkpart manual:
> > 
> > --quote--
> > fs-type must be one of these supported file systems:
> > 
> > 
> > ext2 
> > fat32 
> > fat16 
> > HFS 
> > linux-swap 
> > NTFS 
> > reiserfs 
> > ufs
> > --/quote--
> > 
> > Try changing ext2 to ntfs or fat32 ?
> 
>     Maybe i didn't explain properly. WinXP is already
> installed and i don't need to format it at all! Even
> ntfs.
> 
>     Ghe Rivero
> 
> 
> 
> 
> 
> > Ramon.
> > 
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > [mailto:sisuite-users-
> > > [EMAIL PROTECTED] On Behalf Of Ghe
> > Rivero
> > > Sent: donderdag 14 oktober 2004 11:50
> > > To: [EMAIL PROTECTED]
> > > Subject: [Sisuite-users] WinXP partitons problems
> > > 
> > > Hi people,
> > >     this is the scenario: a lab with dual boot:
> > WinXP
> > > installed and free space (not partitioned) for
> > Linux
> > > images. The golden client is working properly, but
> > in
> > > the  master script i found this:
> > > 
> > > echo "Creating partition /dev/hda1."
> > > START_MB=$END_OF_LAST_PRIMARY
> > > END_MB=$(echo "scale=3; ($START_MB + 48642)" | bc)
> > > echo "parted -s -- /dev/hda mkpart primary ext2
> > > $START_MB $END_MB || shellout"
> > > parted -s -- /dev/hda mkpart primary ext2
> > $START_MB
> > > $END_MB || shellout
> > > END_OF_LAST_PRIMARY=$END_MB
> > > echo parted -s -- /dev/hda set 1 boot on ||
> > shellout
> > > parted -s -- /dev/hda set 1 boot on || shellout
> > > 
> > >     So the WinXP partition is format as ext2. I
> > have
> > > tried to comment the parted lines, but i get
> > errors on
> > > it. Any idea? If you need more info, just ask for
> > it.
> > > 
> > >     Ghe Rivero
> > > 
> > > 
> > > 
> > > 
> > > ______________________________________________
> > > Renovamos el Correo Yahoo!: �100 MB GRATIS!
> > > Nuevos servicios, m�s seguridad
> > > http://correo.yahoo.es
> > > 
> > > 
> > >
> >
> -------------------------------------------------------
> > > This SF.net email is sponsored by: IT Product
> > Guide on ITManagersJournal
> > > Use IT products in your business? Tell us what you
> > think of them. Give us
> > > Your Opinions, Get Free ThinkGeek Gift
> > Certificates! Click to find out
> > > more
> > >
> >
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > > _______________________________________________
> > > Sisuite-users mailing list
> > > [EMAIL PROTECTED]
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
> > 
> > 
> >
> -------------------------------------------------------
> > This SF.net email is sponsored by: IT Product Guide
> > on ITManagersJournal
> > Use IT products in your business? Tell us what you
> > think of them. Give us
> > Your Opinions, Get Free ThinkGeek Gift Certificates!
> > Click to find out more
> >
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> > _______________________________________________
> > Sisuite-users mailing list
> > [EMAIL PROTECTED]
> >
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
> >  
> 
> 
>               
> ______________________________________________
> Renovamos el Correo Yahoo!: �100 MB GRATIS!
> Nuevos servicios, m�s seguridad
> http://correo.yahoo.es
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
> Use IT products in your business? Tell us what you think of them. Give us
> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
> http://productguide.itmanagersjournal.com/guidepromo.tmpl
> _______________________________________________
> Sisuite-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/sisuite-users
-- 
-------------------------------------------------
Samuele Tognini
Centro di calcolo didattico
Dipartimento di Informatica, Universita' di Pisa
Via Buonarroti, 4 56127 PISA
Tel +39 0502213710
Fax +39 0502213709
-------------------------------------------------



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Sisuite-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to