install script fixes - mkfs block size, autopart invocation
This commit is contained in:
		
							parent
							
								
									651349d6d2
								
							
						
					
					
						commit
						8dd28a9a7c
					
				@ -147,7 +147,7 @@ else
 | 
				
			|||||||
		then	if [ -s "$PF" ]
 | 
							then	if [ -s "$PF" ]
 | 
				
			||||||
			then
 | 
								then
 | 
				
			||||||
				bd="`cat $PF`"
 | 
									bd="`cat $PF`"
 | 
				
			||||||
				if [ -b "$bd" ]
 | 
									if [ -b "/dev/$bd" ]
 | 
				
			||||||
				then	primary="$bd"
 | 
									then	primary="$bd"
 | 
				
			||||||
				else	echo "Funny device $bd from autopart."
 | 
									else	echo "Funny device $bd from autopart."
 | 
				
			||||||
				fi
 | 
									fi
 | 
				
			||||||
@ -244,6 +244,8 @@ do	echo -n "Block size [$blockdefault KB]? "
 | 
				
			|||||||
	fi
 | 
						fi
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					blocksizebytes="`expr $blocksize '*' 1024`"
 | 
				
			||||||
 | 
					echo $blocksizebytes ; exit
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo -n "
 | 
					echo -n "
 | 
				
			||||||
How much swap space would you like?  Swapspace is only needed if this
 | 
					How much swap space would you like?  Swapspace is only needed if this
 | 
				
			||||||
@ -288,7 +290,7 @@ echo "
 | 
				
			|||||||
Migrating to disk...
 | 
					Migrating to disk...
 | 
				
			||||||
"
 | 
					"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mkfs -B $blocksize /dev/$usr
 | 
					mkfs -B $blocksizebytes /dev/$usr
 | 
				
			||||||
echo "\
 | 
					echo "\
 | 
				
			||||||
Scanning /dev/$usr for bad blocks.  (Hit DEL to stop the scan if you are
 | 
					Scanning /dev/$usr for bad blocks.  (Hit DEL to stop the scan if you are
 | 
				
			||||||
absolutely sure that there can not be any bad blocks.  Otherwise just wait.)"
 | 
					absolutely sure that there can not be any bad blocks.  Otherwise just wait.)"
 | 
				
			||||||
@ -334,7 +336,7 @@ echo "
 | 
				
			|||||||
Copying $fdroot to /dev/$root
 | 
					Copying $fdroot to /dev/$root
 | 
				
			||||||
"
 | 
					"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mkfs -B $blocksize /dev/$root || exit
 | 
					mkfs -B $blocksizebytes /dev/$root || exit
 | 
				
			||||||
mount /dev/$root /mnt || exit
 | 
					mount /dev/$root /mnt || exit
 | 
				
			||||||
# Running from the installation CD.
 | 
					# Running from the installation CD.
 | 
				
			||||||
cpdir -vx / /mnt || exit
 | 
					cpdir -vx / /mnt || exit
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user