mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	Enlarge the size of /boot partition for Ubuntu (#5432)
This commit is contained in:
		@@ -195,7 +195,7 @@ if [ -d /sys/firmware/efi ]; then
 | 
			
		||||
    echo "    ." >> /tmp/partitionfile
 | 
			
		||||
else
 | 
			
		||||
    echo "ubuntu-boot ::" > /tmp/partitionfile
 | 
			
		||||
    echo "100 50 100 ext3" >> /tmp/partitionfile
 | 
			
		||||
    echo "256 256 512 ext3" >> /tmp/partitionfile
 | 
			
		||||
    echo '    $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot }' >> /tmp/partitionfile
 | 
			
		||||
    echo "    ." >> /tmp/partitionfile
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
@@ -214,7 +214,7 @@ else
 | 
			
		||||
    echo '    $primary{ } $bootable{ } method{ prep }' >> /tmp/partitionfile
 | 
			
		||||
    echo "    ." >> /tmp/partitionfile
 | 
			
		||||
 | 
			
		||||
    #echo "100 50 100 ext4" >> /tmp/partitionfile
 | 
			
		||||
    #echo "256 256 512 ext4" >> /tmp/partitionfile
 | 
			
		||||
    #echo '    $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext4 } mountpoint{ /boot }' >> /tmp/partitionfile
 | 
			
		||||
    #echo "    ." >> /tmp/partitionfile
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user