Bugs item #1507354, was opened at 2006-06-16 08:01
Message generated for change (Settings changed) made by bernardli
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: v3.6.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Bernard Li (bernardli)
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]

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

>Comment By: Bernard Li (bernardli)
Date: 2006-06-16 10:30

Message:
Logged In: YES 
user_id=879102

The first issue is fixed in 3.7.3 by zeroing the partition
before running parted.

Second issue, I'll take a look at it...

Thanks!

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

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