Kano hat folgendes geschrieben::
Maybe you used fat, try ext2/3/4.
Tejas hat folgendes geschrieben::
Used reiserfs, but can also try ext2/3/4,
Code:
grub> root (hd0,4)
ext2 fs
grub> kernel /kx
Bad file or directory
Entry 'menu.lst'
Code:
root (hd0,0)
reiserfs
kernel /kx/vmlinuz fromiso=/dev/sda5/kx/kanotix-2.6.38.iso boot=live config utc=yes locales=us quiet gfx=on
initrd /kx/initrd.img
Combination works
So, in a nutshell: (Running from Live System)
1. Create Directory in ext2 Partiion
Code:
mkdir px2
sudo mount /dev/sda5 px2
mkdir px2/kx
2. Download ISO to Directory kx in ext2 Partition
3. Mount the Iso File
Code:
mkdir iso
sudo mount -t iso9660 -o loop,ro px2/kx/kanotix-2.6.38.iso iso
4. Create Directory in reiserfs Partiion
Code:
mkdir reiser
sudo mount /dev/sda1 reiser
sudo mkdir reiser/kx
sudo chmod a+rw reiser/kx
5. Copy from iso's 'live' directory the files: vmlinuz and initrd.img
Code:
cp -a iso/live/vmlinuz reiser/kx
cp -a iso/live/initrd.img reiser/kx
ls -l reiser/kx
-r--r--r-- 1 kanotix kanotix 20229456 May 11 15:17 initrd.img
-r--r--r-- 1 kanotix kanotix 4534736 May 11 15:17 vmlinuz
6. Grub 'menu.lst' Entry
Zitat:
# ISO boot
title Kanotix Live - GFX - EN 'fromiso=' kanotix-2.6.38
root (hd0,0) reiserfs partition
kernel /kx/vmlinuz fromiso=/dev/sda5/kx/kanotix-2.6.38.iso boot=live config utc=yes locales=us quiet gfx=on
initrd /kx/initrd.img
|