Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 302280 | Differences between
and this patch

Collapse All | Expand All

(-)linuxrc.orig (-2 / +5 lines)
Lines 414-424 Link Here
414
good_msg 'Determining root device...'
414
good_msg 'Determining root device...'
415
while true
415
while true
416
do
416
do
417
	ITER=1
417
	while [ "${got_good_root}" != '1' ]
418
	while [ "${got_good_root}" != '1' ]
418
	do
419
	do
419
		case "${REAL_ROOT}" in
420
		case "${REAL_ROOT}" in
420
			LABEL\=*|UUID\=*)
421
			LABEL\=*|UUID\=*)
421
			
422
			
423
				good_msg 'Detecting FS by UUID/LABEL...'
422
				ROOT_DEV=""
424
				ROOT_DEV=""
423
				retval=1
425
				retval=1
424
				
426
				
Lines 441-448 Link Here
441
					good_msg "Detected real_root=${ROOT_DEV}"
443
					good_msg "Detected real_root=${ROOT_DEV}"
442
					REAL_ROOT="${ROOT_DEV}"
444
					REAL_ROOT="${ROOT_DEV}"
443
				else
445
				else
444
					whereis "REAL_ROOT" "root block device"
446
					[ $ITER -ge 2 ] && whereis "REAL_ROOT" "root block device"
445
					got_good_root=0
447
					[ $ITER -lt 2 ] && got_good_root=0
448
					ITER=$(($ITER+1))
446
					continue
449
					continue
447
				fi
450
				fi
448
				;;
451
				;;

Return to bug 302280