Da man ein "kanotix.iso" per USB-Stick booten kann, müsste das doch auch per USB-HDD gehen.
Partitionen meiner externen USBHDD:
/dev/sda1 - dedicated Master-Grub2
/dev/sda5 - swap
/dev/sda6 - Linux Betriebssystem mit Grub2 in Root-Partition (z.Zt. ubuntu)
/dev/sda7 - ext3-Datenpartition mit verschiedenen linux-iso files.
Auszug grub.cfg, Abschnitt ISO-Boot:
Code:
### ISO-Image 'Linuxmint' (hd0,7) USB-HDD Funktion yes ###
menuentry 'boot ISO-File=linuxmint-11-gnome-dvd-32bit.iso' {
set isodev=/dev/sda7
set isopath=/iso
set isofile=linuxmint-11-gnome-dvd-32bit.iso
search -sf ${isopath}/${isofile}
loopback iso ${isopath}/${isofile}
linux (iso)/casper/vmlinuz boot=casper quiet splash noeject noprompt iso-scan/filename=${isopath}/${isofile} lang=de --
initrd (iso)/casper/initrd.lz
}
### ISO-Image 'Kanotix' (hd0,7) USB-HDD Funktion no ###
menuentry 'boot ISO-File=kanotix-2.6.38.iso' {
set isodev=/dev/sda7
set isopath=/iso
set isofile=kanotix-2.6.38.iso
search -sf ${isopath}/${isofile}
loopback iso ${isopath}/${isofile}
linux (iso)/live/vmlinuz fromiso=${isodev}${isopath}/${isofile} boot=live config utc=no timezone=Europe/Berlin locales=de keyboard-layouts=de keyboard-variant=nodeadkeys quiet
initrd (iso)/live/initrd.img
}
Auswahl von 'boot ISO-File=linuxmint-11-gnome-dvd-32bit.iso' bootet einwandfrei ins Live-System.
Auswahl von 'boot ISO-File=kanotix-2.6.38rc6.iso' erzeugt leider folgende Fehlermeldungen:
Code:
Loading, please wait ...
sh: bad number
losetup: /dev/loop0: No such file or directory
mkdir: can't create directory '/isofrom'. File exists
mount: mounting /dev/sda7 on /isofrom failed: Device or resource busy
..
BOOT FAILED!
This Debian Live image failed to boot.
live boot will now start a shell. The error message was:
Unable to find a medium containing a live file system
BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
/bin/sh: can't access tty: job control turned off
(initramfs)
Eingabe von 'mount' liefert:
rootfs on / type rootfs (rw)
none on /sys on type sysfs (rw, nosuid, nodev, noexec, relatime)
none on /proc type proc (rw, nosuid, nodev, noexec, relatime)
none on /dev type devtmpfs (rw, relatime, size=1019936k, nr_inodes=213102, mode=755)
none on /dev/pts type devpts (rw, nosuid, noexec, relatime, gid=5, mode=620, ptmxmode=000)
/dev/sda7 on /isofrom type ext4 (rw, relatime, bmeinem arrier=1, data=ordered)
Auf meinen Notebook habe in folgenden, funktionsfähigen Grub2 "ISO-Boot" Eintrag:
Code:
# boot ISO on (hd0,10)
menuentry ''boot ISO-File=kanotix-2.6.38.iso (/dev/sda10)' {
set isodev=/dev/sda10
set isopath=/iso-images
set isofile=kanotix-2.6.38.iso
search -sf ${isopath}/${isofile}
loopback iso ${isopath}/${isofile}
linux (iso)/live/vmlinuz fromiso=${isodev}${isopath}/${isofile} boot=live config utc=no timezone=Europe/Berlin locales=de keyboard-layouts=de keyboard-variant=nodeadkeys quiet
initrd (iso)/live/initrd.img
}
Leider kann man damit zwar ein kanotix-iso testen, aber nicht für eine Installation verwenden.
Kann man ein kanotix-iso von externer USB-HDD booten?
Falls ja, wo ist mein Fehler?
Bata |