summaryrefslogtreecommitdiff
path: root/Kernel/build-image-grub.sh
AgeCommit message (Collapse)Author
2020-02-02Partition Table: Change Script filesLiav A
From now we can use build-image-grub.sh to generate a virtual disk with the supported partition schemes - MBR, GPT & EBR (MBR + Extended partitions).
2020-01-15Build: use $SUDO_[UG]ID in build-image-* instead of relying on makealljoshua stein
2019-11-26Build: Bump the default disk image size from 500MB to 600MBAndreas Kling
This gives us a little more leeway for installing ports, etc.
2019-11-03Build: Fix more bugs in the POSIX sh-ification of scriptsAndreas Kling
2019-11-03POSIX compliance: (most) shell scripts converted to generic shellGeorge Pickering
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh have been left largely untouched due to use of Bash-exclusive functions and variables such as $BASH_SOURCE, pushd and popd.
2019-06-04Build: Remove grub from default build processConrad Pankoff
This removes grub and all the loopback device business from the default build process. Running grub takes about a second, and it turns out it's inconsistently packaged in different distributions, which has led to at least one confusing issue so far (grub-install vs grub2-install). Removing it from the basic path will make it easier for people to try Serenity out. There are now two scripts that can be used to build a disk image: 1. `build-image-grub.sh` - this will build an image suitable for writing to the IDE hard drive of a physical machine, complete with a partition table and bootloader. This can be run in qemu with the `qgrub` target for the `run` script. 2. `build-image-qemu.sh` - this is a simpler script which creates a bare filesystem image rather than a full MBR disk. Both of these call out to `build-root-filesystem.sh` to do most of the work setting up... the root filesystem. For completeness' sake, I've retained the `sync.sh` script as a simple forwarding to `build-image-qemu.sh`. This relies on the functionality from #194 and #195. #195 allows us to use `/dev/hda` as the root device when nothing else is specified, and #194 works around a strange feature of qemu that appends a space to the kernel command line.