Package org.jnode.fs.jfat.command

Examples of org.jnode.fs.jfat.command.JGrub


                try {
                    String deviceID =
                        inContext.getStringInput("Enter the installation disk device name (example: hda0) : ");

                    Device disk = DeviceUtils.getDevice(deviceID);
                    JGrub jgrub = new JGrub(new PrintWriter(new OutputStreamWriter(System.out)), disk);

                    inContext.setStringValue(ActionConstants.INSTALL_ROOT_DIR, jgrub.getMountPoint());
                    return AbstractInstaller.Step.forth;
                } catch (Exception e) {
                    return AbstractInstaller.Step.back;
                }
            }
View Full Code Here


        };
        t.start();
*/
        // DeviceUtils.createFakeDevice(new ErrorReporter());
        IDEDevice dev = DeviceUtils.createFileDevice(errorReporter);
        @SuppressWarnings("unused")
        JGrub jgrub = new JGrub(new PrintWriter(new OutputStreamWriter(System.out)), dev);
       
//        jgrub.install();
       
        new JPartitionCommand().doExecute(true, in, out, err, true, false);
    }
View Full Code Here

TOP

Related Classes of org.jnode.fs.jfat.command.JGrub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.