edit: έχω ένα ωραίο kernel panic
μου λέει ότι δεν βρίσκει το αρχείο...
το αρχείο 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
edi2: ορίστε
- Κώδικας: Επιλογή όλων
chris@chris-Aspire-5732Z:~$ sudo fdisk -l
[sudo] password for chris:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00023d4c
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 167272447 83635200 7 HPFS/NTFS/exFAT
/dev/sda2 188794880 209739775 10472448 83 Linux
/dev/sda3 209739776 625141759 207700992 83 Linux
/dev/sda4 167272448 188794879 10761216 83 Linux
Partition table entries are not in disk order