|
Want to install openSUSE 12.2, but the target machine does not drive, there is no available to accommodate the DVD image under the U disk. Try dd mirror to the U disk, the report can not find the drive or something, failure to start, automatically restart. Other pages only how to get the ISO image on the U disk instructions, did not explain how to start the right. Grub2 with kernel parameters install = hd: $ isofile failed. This is said to be valid only for DVD images.
Finally, as long ago as reading init script, and finally come to the right start method:
Menuentry "openSUSE 12.2 KDE LiveCD x86_64" {
Set isofile = "/ images / openSUSE-12.2-KDE-LiveCD-x86_64.iso"
Echo "Setup loop device ..."
Loopback loop $ isofile
Echo "Loading kernel ..."
Linux (loop) / boot / x86_64 / loader / linux isofrom = / dev / disk / by-label / 4lin: $ isofile
Echo "Loading initrd ..."
Initrd (loop) / boot / x86_64 / loader / initrd
}}
Where isofrom specifies the device and path where the ISO file is located, separated by a colon. If there is no write on the words, will be Failed to find MBR identifier!
December 22, 2013 update: For openSUSE 13.1, the boot command should be written like this:
Menuentry "openSUSE 13.1 KDE Live x86_64 (zh_CN)" {
Set isofile = "/ images / openSUSE-13.1-KDE-Live-x86_64.iso"
Echo "Setup loop device ..."
Loopback loop $ isofile
Echo "Loading kernel ..."
Linux (loop) / boot / x86_64 / loader / linux isofrom_device = / dev / disk / by-label / 4lin isofrom_system = $ isofile LANG = zh_CN.UTF-8
Echo "Loading initrd ..."
Initrd (loop) / boot / x86_64 / loader / initrd
}} |
|
|
|