Δημοσιεύτηκε: 28 Μάιος 2012, 14:53
από Learner
clepto έγραψε:αν θέλω να είναι μόνιμο πειράζω μόνο το custom ή και τα δύο αρχεία;

edit: έχω ένα ωραίο kernel panic :P
μου λέει ότι δεν βρίσκει το αρχείο...
το αρχείο custom, το ροοτ βρίσκεται στον sda2
Κώδικας: Επιλογή όλων
chris@chris-Aspire-5732Z:~$ cat /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Live" {
set isofile="/boot/ISO/Pinguy.iso"
loopback loop (hd0,msdos2)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject persistent rw
initrd (loop)/casper/initrd.lz
}


Κώδικας: Επιλογή όλων
chris@chris-Aspire-5732Z:~$ ls /boot/ISO/
Pinguy.iso

Το αρχείο είναι τοποθετημένο στον dev/sda2 ? Μπορεί επίσης να ευθύνεται και το iso . Δοκίμασε με κάποιο που ξέρουμε σίγουρα πως παίζει.. π.χ Ubuntu.