Bugs item #1507354, was opened at 2006-06-16 08:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1507354&group_id=259

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Initial RAM Disk
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: parted is not 100% non-interactive in script mode.

Initial Comment:
I've just used SI (3.6.3) succesfully for installing
RHEL4. 

I've encountered this problem:

When running this line:
parted -s -- $DISK0 mklabel msdos || shellout

the installation failed. Experimenting in the command
line, I found out that when ran in interactive mode,
parted told me that partitions on /dev/sda are being
used, and asked for Ignore/Cancel. 

Obviously, in -s mode, instead of asking, it bails out
- so I replaced that line with
echo i | parted -- $DISK0 mklabel msdos || shellout

>From there it went like a breeze. I did not find any
commandline option in parted that would tell it to
assume  yes/ignore on all queries, though. I'm not sure
what was on the /dev/sda (the machine came out of the
box but it might have had something preinstalled).

Could not verify this behaviour on any other system but
believe that it will happen consistenly if the disk of
the installed machine is not clear. 

There was one more thing - this line:
parted -s $DISK0 unit MB print | grep 'Disk geometry
for' ...

This just produced no output - I had to change the
parameter order to:
parted -s $DISK0 print unit MB.

[EMAIL PROTECTED]

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100259&aid=1507354&group_id=259


_______________________________________________
Sisuite-devel mailing list
Sisuite-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sisuite-devel

Reply via email to