[求助]用Grub2引导TW的LiveCD提示System Halted


#1

rt,提示如下图

Grub2配置文件如下

##################################################
#Grub2 Config File #
##################################################
#Vars
set default=0
set fallback=1
set root=“hd0,msdos1”
set gfxmode=1024x768,auto
set superuser=“BlueNight1982”
set theme="/boot/grub2/themes/Vimix/theme.txt"
#Load Modules
insmod part_gpt
insmod part_msdos
insmod btrfs
insmod exfat
insmod ext2
insmod fat
insmod iso9660
insmod jfs
insmod ntfs
insmod reiserfs
insmod udf
insmod xfs
insmod zfs
insmod all_video
insmod gfxterm
insmod png
#Public
terminal_output gfxterm
#background_image /boot/grub2/themes/bg.png
password_pbkdf2 BlueNight1982
export theme
#menu
menuentry “Win10 PE i386(WePE)” --users “” {
linux16 /boot/winpe/memdisk iso raw
initrd16 /boot/winpe/Win10PE.iso
}
fi
menuentry “openSuSE Tumbleweed Live CD” --users “” {
loopback loop0 /boot/linux/openSuSE-Live.iso
linux (loop0)/boot/ix86/loader/linux iso-scan/filename=/boot/linux/openSuSE-Live.iso noprompt noeject
initrd (loop0)/boot/ix86/loader/initrd
}
fi
menuentry “System Rescue CD i386” --users “” {
loopback loop0 /boot/linux/SystemRescueCD.iso
linux (loop0)/isolinux/rescue32 isoloop=/boot/linux/SystemRescueCD.iso setkmap=us docache
initrd (loop0)/isolinux/initram.igz
}
fi
menuentry “System Rescue CD i386 with X” --users “” {
loopback loop0 /boot/linux/SystemRescueCD.iso
linux (loop0)/isolinux/rescue32 isoloop=/boot/linux/SystemRescueCD.iso setkmap=us docache dostartx
initrd (loop0)/isolinux/initram.igz
}
fi

TW版本为20180530


#2

错误已经给了,No or empty root= argument
参考iso文件里的来一次吧


#3

以前我用的时grub costomizer(名字应该没有记错),很少出现这种情况。但是个别的iso文件会。比如drweb和卡巴斯基的杀毒livecd。


#4

这里有一个能用的 menuentry:

menuentry "openSUSE 42.1" {
     echo "loading openSUSE Leap 42.1"
     insmod search_fs_uuid
     search --no-floppy --fs-uuid --set=root 291110a5-a11a-4304-96c9-c00a9a428a78
     set isofile="/openSUSE-Leap-42.1-DVD-x86_64.iso"
     loopback loop $isofile
     linux (loop)/boot/x86_64/loader/linux install=hd:$isofile exec="ln -s /usr/bin/mount /bin/mount"
     initrd (loop)/boot/x86_64/loader/initrd
}

其中的 root 分区的 uuid,你可以挂载硬盘后用 blkid 命令看一下。