NAB hat geschrieben:Holla, Respekt vor deiner Experimentierfreude!
Es grüßt die Jessie aus der Umlaufbahn.... mit Booster-Zündung aus der Garage heraus direkt hinauf ins Ziel.....
NAB hat geschrieben:du hast dann das ISO-Image im Dateisystem gebootet, per Grub, und ihm nachher das ISO-Image auf der Partition als Quell-CD gezeigt? Oder konntest du per Grub direkt von der Partition starten?
Es läuft... ISO-Image installieren
OHNE DVD! Und das deutlich flotter als zu Fuß
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Hier das Setup:
1. Zielpartition ermitteln... wo soll denn alles hin?
Code: Alles auswählen
root@ThomasPC:/# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 Köpfe, 63 Sektoren/Spur, 60801 Zylinder, zusammen 976773168 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00021802
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 257468415 128630784 7 HPFS/NTFS/exFAT
/dev/sda3 257470462 976771071 359650305 f W95 Erw. (LBA)
/dev/sda5 * 257470464 886616063 314572800 83 Linux
/dev/sda6 886618112 920172543 16777216 82 Linux Swap / Solaris
/dev/sda7 920174592 962117631 20971520 7 HPFS/NTFS/exFAT
/dev/sda8 962119680 976771071 7325696 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 16.0 GB, 16026435072 bytes
255 Köpfe, 63 Sektoren/Spur, 1948 Zylinder, zusammen 31301631 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000ceff4
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 2048 31299583 15648768 b W95 FAT32
Die beiden gewünschten Partitionen:
sda7 = 20 GB Zielpartition
sda8 = 5 GB Quellpartition (enthält das ISO-Installations-Image)
Ist gemounted? umount!
Code: Alles auswählen
root@ThomasPC:/# blkid -o list -w /dev/null
device fs_type label mount point UUID
----------------------------------------------------------------------------------------------------------------
/dev/sda1 ntfs System-reserviert (not mounted) D88CD9F58CD9CDDE
/dev/sda2 ntfs /media/Lokal_C_Win 0E20E43220E42287
----------> /dev/sda7 ntfs Volume (not mounted) 6A26C0C426C0930D
----------> /dev/sda8 ntfs Volume (not mounted) 728ED2C48ED28051
/dev/sda6 swap <swap> 886be00f-7e7e-48ec-95f1-7411124185e1
/dev/sda5 ext4 Linux / 26796856-49f1-46f2-884a-dd18f9d0532e
/dev/sdb1 vfat /media/1DE5-E23B 1DE5-E23B
root@ThomasPC:/#
Brennen -> /mnt/debian-jessie-DI-rc1-amd64-DVD-1.iso
Code: Alles auswählen
root@ThomasPC:~# dd bs=1M if=/mnt/debian-jessie-DI-rc1-amd64-DVD-1.iso of=/dev/sda8
3792+0 Datensätze ein
3792+0 Datensätze aus
3976200192 Bytes (4,0 GB) kopiert, 639,185 s, 6,2 MB/s
angekommen?
Code: Alles auswählen
root@ThomasPC:/# df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
rootfs 296G 8,8G 272G 4% /
udev 10M 0 10M 0% /dev
tmpfs 799M 836K 798M 1% /run
/dev/disk/by-uuid/26796856 296G 8,8G 272G 4% /
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 4,8G 80K 4,8G 1% /run/shm
/dev/sda7 20G 87M 20G 1% /media/Volume
/dev/sda8 3,8G 3,8G 0 100% /media/Debian Jessie-DI-rc1 amd64 1
Grub-Menü anpassen. Dazu vorher im ISO-Image reinschauen, wo die beiden Kernel-Files liegen:
/media/root/Debian Jessie-DI-rc1 amd64 1/install.amd/.
"Thomas" als Angabe sorgt für die Anlegung des Users mit gleichem Namen mit root-Rechten.
Code: Alles auswählen
]root@ThomasPC:/# nano /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 "Debian-Setup ISO-Image" {
set root='/dev/sda8'
linux (hd0,8)/install.amd/vmlinuz boot=thomas priority=low vga=788 ---
initrd (hd0,8)/install.amd/initrd.gz
}
root@ThomasPC:~# update-grub
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.16.0-0.bpo.4-amd64
Found initrd image: /boot/initrd.img-3.16.0-0.bpo.4-amd64
Found linux image: /boot/vmlinuz-3.2.0-4-amd64
Found initrd image: /boot/initrd.img-3.2.0-4-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Found Windows 7 (loader) on /dev/sda1
done
Achtung:
Unbedingt vor dem Restart einen evtl. vorhandenen USB-Stick abziehen. Der USB-Stick hat in meinem Setup verhindert, dass am Punkt "CD-Laufwerk erkennen" nicht manuell das Fake-Laufwerk
/dev/sda8 eingegeben werden konnte. Es ist allerdings auch möglich, dass das speziell an meinem USB-STick lag, der vielleicht noch Bootrec-Infos von früheren Versuchen enthielt.
Restart + Setup Jessie!!!!