Switch from ext4 to ext2 as an experiment

This commit is contained in:
Albert Hopkins 2010-11-05 08:59:18 -04:00
parent a5af02ae14
commit 295b1d9a96
2 changed files with 3 additions and 3 deletions

View File

@ -38,12 +38,12 @@ $(RAW_IMAGE):
partitions: $(RAW_IMAGE)
parted -s $(RAW_IMAGE) mklabel msdos
parted -s $(RAW_IMAGE) mkpart primary ext4 0 $(DISK_SIZE)
parted -s $(RAW_IMAGE) mkpart primary ext2 0 $(DISK_SIZE)
parted -s $(RAW_IMAGE) set 1 boot on
qemu-nbd -c $(NBD_DEV) $(RAW_IMAGE)
sleep 3
mkfs.ext4 -O sparse_super -L "$(APPLIANCE)" $(NBD_DEV)p1
mkfs.ext2 -O sparse_super -L "$(APPLIANCE)" $(NBD_DEV)p1
touch partitions
$(CHROOT):

2
fstab
View File

@ -1,4 +1,4 @@
# <fs> <mountpoint> <type> <opts> <dump/pass>
/dev/sda1 / ext4 noatime 1 1
/dev/sda1 / ext2 noatime 1 1
/.swap none swap sw 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0