Topic: GParted Live on HDD
Hello.
Debian Jessie, old notebook Asus F3JC, using guide http://gparted.org/livehd.php - copy content from *.zip to sda7, rename live dir and create /etc/grub.d/40_custom:
menuentry "GParted live" {
set root=(hd0,7)
linux /live-hd/vmlinuz boot=live config union=overlay noswap noprompt vga=788 ip=frommedia live-media-path=/live-hd bootfrom=/dev/sda7 toram=filesystem.squashfs
initrd /live-hd/initrd.img
}
update-grub output:
serge@debian:~$ sudo update-grub2
Generating grub configuration file ...
using custom appearance settings
Found background image: /usr/share/images/desktop-base/spacefun-grub.png
Found linux image: /boot/vmlinuz-3.16.0-4-686-pae
Found initrd image: /boot/initrd.img-3.16.0-4-686-pae
Found linux image: /boot/vmlinuz-3.16.0-4-586
Found initrd image: /boot/initrd.img-3.16.0-4-586
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Found GRUB Invaders image: /boot/invaders.exec
/etc/grub.d/40_custom: 1: /etc/grub.d/40_custom: menuentry: not found
/etc/grub.d/40_custom: 2: /etc/grub.d/40_custom: Syntax error: "(" unexpected
Whats wrong?
Sorry about bad English.