Lieber Besucher, herzlich willkommen bei: Knoppix Forum | www.KnoppixForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Zitat
mit der ich Knoppix auf einer externen Festplatte installieren möchte
Zitat
Ich habe mit sudo fdisk -l ermittelt, dass das Laufwerk /dev/sdb und die einzige Partition /dev/sdb1 ist.
Zitat
grub-install /dev/sdb
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
knoppix@Microknoppix:~$ su root@Microknoppix:/home/knoppix# sudo fdisk -l Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0xffa36470 Device Boot Start End Blocks Id System /dev/sda1 * 1 4177 33551721 7 HPFS/NTFS /dev/sda2 4178 30401 210644280 f W95 Ext'd (LBA) /dev/sda5 4178 30401 210644248+ 7 HPFS/NTFS Disk /dev/sdb: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x5cc75058 Device Boot Start End Blocks Id System /dev/sdb1 1 14593 117218241 c W95 FAT32 (LBA) root@Microknoppix:/home/knoppix# grub-install /dev/sdb grub-probe: error: cannot find a device for /. grub-probe: error: cannot find a device for /boot/. Could not find device for /boot: Not found or not a block device. root@Microknoppix:/home/knoppix# |
![]() |
Quellcode |
1 |
grub |
![]() |
Quellcode |
1 |
find /boot/grub/stage2 |
![]() |
Quellcode |
1 2 |
root (hd1,0) setup (hd1) |
Zitat
timeout 10
color cyan/blue white/blue
title Knoppix
root (hdx,y) oder (sdx,y) #dazu gleich mehr
kernel /boot/isolinux/linux root=/dev/sdb1 ramdisk_size=100000 quiet vga=791
initrd /boot/isolinux/minirt.gz
Nun führst du in deinem Knoppix den Befehl:
grub-install --root-directory=/media/sdb1 /dev/sdb
damit sagst du grub dass er nach /boot/grub nicht auf der Knoppix CD suchen soll sondern auf deiner externen Disk, die dazu nat unter /media/sdb1 gemountet sein muss. Damit erstellst grub unter /boot/grub deiner Platte eine Datei device.map die die LW Zuordnungen enthält und in der suchst du nach /dev/sdb um die x,y aufgelöst zu kriegen.
Wenn neben /dev/sdb ein (sd0) steht, dann heißt das in der menu.lst root (sd0,0), steht dort ein (hd0) dann eben ein root (hd0,0)
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »JackCarver« (19.06.2009, 21:28)
Wo bekomme ich das alles her. Ich habe das nicht gefunden.Einfach /boot/grub/ALLE_stage_FILES mit dieser Verz.-Struktur draufkopieren, ggf. eine menu.lst dazu erzeugen.
![]() |
Quellcode |
1 2 3 4 5 6 7 8 |
timeout 10 color cyan/blue white/blue title Knoppix #root (hdx,y) oder (sdx,y) #dazu gleich mehr kernel /boot/isolinux/linux root=/dev/sdb1 ramdisk_size=100000 quiet vga=791 initrd /boot/isolinux/minirt.gz |
Dieser Beitrag wurde bereits 15 mal editiert, zuletzt von »Cottonwood« (21.06.2009, 11:28)
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
knoppix@Microknoppix:~$ su root@Microknoppix:/home/knoppix# grub-install --root-directory=/media/sdb1 /dev/sdb grub-probe: error: cannot find a device for /media/sdb1/. grub-probe: error: cannot find a device for /media/sdb1/boot/. Could not find device for /media/sdb1/boot: Not found or not a block device. root@Microknoppix:/home/knoppix# cd /media/sdb1 root@Microknoppix:/media/sdb1# ls -l insgesamt 112 drwxrwxrwx 4 knoppix knoppix 16384 19. Jun 21:55 boot -rwxrwxrwx 1 knoppix knoppix 495 19. Jun 22:18 Fehler1.txt -rwxrwxrwx 1 knoppix knoppix 1095 19. Jun 20:48 Fehler.txt drwxrwxrwx 19 knoppix knoppix 16384 3. Feb 2008 grub-1.96 -rwxrwxrwx 1 knoppix knoppix 1330 19. Jun 22:02 grub.txt drwxrwxrwx 3 knoppix knoppix 16384 19. Jun 17:40 KNOPPIX drwxrwxrwx 2 knoppix knoppix 16384 19. Jun 18:26 VProRecovery root@Microknoppix:/media/sdb1# cd boot/grub root@Microknoppix:/media/sdb1/boot/grub# ls -l insgesamt 416 -rwxrwxrwx 1 knoppix knoppix 197 19. Jun 22:15 default -rwxrwxrwx 1 knoppix knoppix 30 19. Jun 22:15 device.map -rwxrwxrwx 1 knoppix knoppix 8704 19. Jun 22:15 e2fs_stage1_5 -rwxrwxrwx 1 knoppix knoppix 8544 19. Jun 22:15 fat_stage1_5 -rwxrwxrwx 1 knoppix knoppix 9568 19. Jun 22:15 jfs_stage1_5 -rwxrwxrwx 1 knoppix knoppix 206 19. Jun 22:14 menu.lst -rwxrwxrwx 1 knoppix knoppix 7904 19. Jun 22:15 minix_stage1_5 -rwxrwxrwx 1 knoppix knoppix 10720 19. Jun 22:15 reiserfs_stage1_5 -rwxrwxrwx 1 knoppix knoppix 512 19. Jun 22:15 stage1 -rwxrwxrwx 1 knoppix knoppix 128552 19. Jun 22:15 stage2 -rwxrwxrwx 1 knoppix knoppix 128552 19. Jun 22:12 stage2_eltorito -rwxrwxrwx 1 knoppix knoppix 10280 19. Jun 22:15 xfs_stage1_5 root@Microknoppix:/media/sdb1/boot/grub# |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 |
timeout 10 color cyan/blue white/blue title Knoppix root (sd1,0) #dazu gleich mehr kernel /boot/isolinux/linux root=/dev/sdb1 ramdisk_size=100000 quiet vga=791 initrd /boot/isolinux/minirt.gz |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
knoppix@Microknoppix:~$ su root@Microknoppix:/home/knoppix# grub-install --root-directory=/media/sdb1 /dev/sdb grub-probe: error: Cannot open `/boot/grub/device.map' /usr/sbin/grub-install: line 374: [: =: unary operator expected Installation finished. No error reported. This is the contents of the device map /media/sdb1/boot/grub/device.map. Check if this is correct or not. If any of the lines is incorrect, fix it and re-run the script `grub-install'. (hd0) /dev/sda (hd1) /dev/sdb root@Microknoppix:/home/knoppix# |
![]() |
Quellcode |
1 |
(hd0) /dev/sdb |
![]() |
Quellcode |
1 2 3 4 5 6 7 8 |
timeout 10 color cyan/blue white/blue title Knoppix root (hd0,0) kernel /boot/isolinux/linux root=/dev/sdb1 ramdisk_size=100000 quiet vga=791 initrd /boot/isolinux/minirt.gz |
Zitat
Das Ergebnis davon hatte ich unter #26 gepostet
Zitat
Installation finished. No error reported.
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »JackCarver« (20.06.2009, 03:17)
![]() |
Quellcode |
1 |
find /KNOPPIX/KNOPPIX |
![]() |
Quellcode |
1 2 |
root (hdX,Y) setup (hdX) |
Geek und Nerd Shirt Shop - Linux Notebooks & Computer - presell-pages - detektei stuttgart
Brillen für PC Arbeit