How to install NGEL on a USB Drive ?
To copy the OS to your USB drive or any other complete drive, just invoke below command, either by clicking on desktop icon or running it from terminal:
This script can also be used to install system on your VM hard disk, however it will copy the system image block by block and hence it will make your hard disk size equal to 8GB equivalent to SQUASH FS filesystem created by Live CD. To install the system on your hard drive please invoke the script NGELINUX_HARDDISK_INSTALL as root or nglinux user.
Here is the output of complete script:
[nglinux@nglinux ~]$ NGELINUX_INSTALL This Script will copy the NGE Linux CD/DVD to a USB Disk and make it bootable.. Select the disk for installation 1. Disk /dev/sda: 21.5 GB, 21474836480 bytes 2. Other 1 You have selected Disk Disk /dev/sda: 21.5 GB, 21474836480 bytes The disk is going to be formatted. WARNING !! All data on Disk /dev/sda: 21.5 GB, 21474836480 bytes will be erased. Are you sure(y/n) ? y Formatting Disk Disk /dev/sda: 21.5 GB, 21474836480 bytes in ext4 format.... mke2fs 1.41.12 (17-May-2010) /dev/sda is entire device, not just one partition! Proceed anyway? (y,n) y Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 1310720 inodes, 5242880 blocks 262144 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 160 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 33 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. FORMAT Complete... Now transferring the image file to /dev/sda device... Verifying image... The media check is complete, the result is: NA. No checksum information available, unable to verify media. Are you SURE you want to continue? Press Enter to continue or ctrl-c to abort Copying live image to USB stick progress 65536/1789870080 (64.0 KB/s) progress 131072/1789870080 (128.0 KB/s) progress 196608/1789870080 (192.0 KB/s) progress 262144/1789870080 (256.0 KB/s) progress 327680/1789870080 (320.0 KB/s) progress 393216/1789870080 (384.0 KB/s) progress 458752/1789870080 (448.0 KB/s) progress 524288/1789870080 (512.0 KB/s) progress 589824/1789870080 (576.0 KB/s) progress 655360/1789870080 (640.0 KB/s) progress 720896/1789870080 (704.0 KB/s) progress 786432/1789870080 (768.0 KB/s) progress 851968/1789870080 (832.0 KB/s) progress 917504/1789870080 (896.0 KB/s) progress 983040/1789870080 (960.0 KB/s) progress 1048576/1789870080 (1.0 MB/s) progress 1114112/1789870080 (1.1 MB/s) progress 1179648/1789870080 (1.1 MB/s) progress 1245184/1789870080 (1.2 MB/s) progress 1310720/1789870080 (1.2 MB/s) progress 2752512/1789870080 (2.6 MB/s) progress 2818048/1789870080 (2.7 MB/s) progress 2883584/1789870080 (2.8 MB/s) progress 3473408/1789870080 (3.3 MB/s) progress 3538944/1789870080 (3.4 MB/s) progress 3604480/1789870080 (3.4 MB/s) progress 3670016/1789870080 (3.5 MB/s) progress 3735552/1789870080 (3.6 MB/s) progress 3801088/1789870080 (3.6 MB/s) progress 9830400/1789870080 (9.4 MB/s) progress 9895936/1789870080 (9.4 MB/s) progress 9961472/1789870080 (9.5 MB/s) progress 10027008/1789870080 (9.6 MB/s) progress 10092544/1789870080 (9.6 MB/s) progress 10158080/1789870080 (9.7 MB/s) progress 10223616/1789870080 (9.8 MB/s) .. .. The NG Linux 1.0 is now installed on device /dev/sda. Just reboot the system and check the live OS installation your USB/disk. Press any key to exit ....