summaryrefslogtreecommitdiff
path: root/scripts/install/install-get-partition
AgeCommit message (Collapse)Author
2018-11-06T955: Integrating EFI into the installerKroy
2018-11-05T955: Integrating EFI into the installerKroy
2018-08-02T764: increase the drive size requirement to 2G.Daniil Baturin
2018-05-31T232: force FAT label creation before creating the root partition.Daniil Baturin
2018-02-22sometimes drives report they are not alignedKim
And then on reboot it hangs where it should start grub
2017-12-27T496: remove diagnostic partition for RAID1 installsChristian Poessinger
2017-03-20exclude install medium from raid disk countKim
2016-02-01Rename "live-rw" to only "rw".Kim Hagen
2016-02-01Label disk on format and create persistence.conf file to get live-bootKim Hagen
to set the correct persistence.
2014-07-30Replace login check with UID check in install-get-partition.Daniil Baturin
2014-03-18Cleanup of unused parted root partitioning starting offsethydrajump
As we are no longer setting the ROOT_OFFSET based on disk size, I have removed the ROOT_OFFSET variable and the set_root_fstype function.
2014-03-16Fixed parted command for root partition alignment.hydrajump
The current parted command does not align the root partition as desired by the `--align optimal` option. This is evident from this parted message: "Warning: The resulting partition is not properly aligned for best performance." Instead of setting the ROOT_OFFSET=64S or ROOT_OFFSET=1024S (> 10GB) we should set it to 0%. This will result in optimal alignment regardless of disk size. Source: https://unix.stackexchange.com/a/49274
2013-11-02Replace s/Vyatta/VyOS/ in parition handling installer functionsDaniil Baturin
2012-01-20Make disk label if necessaryStephen Hemminger
Bug 7732 Restore installation section that makes disk label.
2011-05-05Make ext4 the default file system typeStephen Hemminger
2011-05-04Align install-image partition correctlyStephen Hemminger
Need to pass correct offset for start of root partition
2011-05-03Adjust root partition offset based on disk sizeStephen Hemminger
On tiny disks, then it doesn't make sense to waste space by offsetting root partition. On big disks, it doesn't hurt and it allows for running on SSD.
2011-04-30Yet another better alignment startStephen Hemminger
Parted has magic value '0%' which causes it to choose optimum alignment (2048 on most disks).
2011-04-30Fix alignment of root partitionStephen Hemminger
Redo Bug 7038 The previous change did nothing; the alignment option only reports alignment, it does not change values. Need to manually reserve space before root partition.
2011-04-28Tell parted to align disk partitionStephen Hemminger
Bug 7038 Align the created disk partition for both install-system and initial install-image. Note: can't fix existing systems where disk is already partitioned. They will just have to suffer with poor performance.
2011-01-17Bugfix 6687: Need to explicitly specify the RAID metadata version number.Bob Gilligan
(cherry picked from commit 5de8a194db56c51c9e5541cca43423f11534ffb7)
2010-11-21Bugfix 6457: Don't ask the question if you're not going to like the answer.Bob Gilligan
2010-09-08Fix quoting of shell -zStephen Hemminger
The -z test in shell needs to be quoted to avoid issues with shell expansion.
2010-03-30Improve wording of config info save dialog.Bob Gilligan
2010-03-12Run partition editor with script flag to avoid prompting userStephen Hemminger
Bug 5443 When running on HyperV, install-system appeared to hang because although hda existed, it had no information so parted was prompting for retry. Use the -s flag (never prompt) at all the places in install-system/install-image where we don't want to have user interaction.
2010-03-08Bugfix 5414: Use correct install root reference when copying back SSH keys.Bob Gilligan
2010-02-16Bugfix 5327: Don't try to save config from images with none.Bob Gilligan
On image-based systems, the Vyatta configuration is mounted on /config and can be found in the disk filesystem under /boot/<image-name>/live-rw/config.
2010-01-26Bugfix 5229: Save old config info when installing on pre-existing RAID group.Bob Gilligan
2010-01-26Bugfix 5220: Use correct path to config directory on installed image.Bob Gilligan
2010-01-26Bugfix 5232: Correctly handle case where user doesn't want to save SSH keysBob Gilligan
2010-01-19Fix typo in install-imageStephen Hemminger
This could fix Bug 5151 There was a typo in script that saved old config
2010-01-18Bugfix 5220: Save config information from previous image-based install.Bob Gilligan
If previous disk-based install is found, use config info from it. Otherwise look for image-based installs. If multiple image-based installs are found, let the user select which one to save the config information from.
2009-12-14Ignore errors from chmod/chown if ssh keys don't existStephen Hemminger
2009-12-14Fix install-image to save config/keysStephen Hemminger
Bug 5151 Part of previous change caused regression in saving config information. Also mounts old config read-only to avoid any problems.
2009-12-03Preserve ssh host keys in install-imageStephen Hemminger
Similar to previous change to install-system
2009-11-13Add start_offset value to log message when partion attempt fails.Bob Gilligan
2009-10-30add unified install-imageAn-Cheng Huang