Тёмный

UBUNTU Using GRUB2 to boot to ISO 

theurbanpenguin
Подписаться 80 тыс.
Просмотров 13 тыс.
50% 1

More videos like this online at www.theurbanpen...
As part of your recovery system on your servers you may require a rescue system to be available from the boot menu. In the event of failure so long as the boot files are still accessible and the ISO to boot from we can boot to the recover ISO and use the tools to repair our host system. We will look at the Ubuntu Recovery Remix ISO and include this in our GRUB menu.
Firstly we will need to download the ISO file from ubuntu-rescue-r... and add the file to our server. In the example we add the ISO file to the /boot/iso directory on our Ubuntu 12.04 server.
With the ISO in place we can look at editing our 40_custom file in /etc/grub.d or if we feel it necessary creating a new file.
menuentry "Remix Recovery" {
insmod part_msdos
insmod ext2
set isofile="/boot/iso/ubuntu-rescue-remix-12-04.iso"
loopback loop (hd0,1)$isofile
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile noprompt noeject
initrd (loop)/casper/initrd.gz
}

Опубликовано:

 

21 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@beat461
@beat461 7 лет назад
does this work if your system is installed on a gpt disk with uefi booting? The reason i'm asking is because I see an msdos option in one of those lines but it might just be specifying the ISO.
@TRWnan
@TRWnan 10 лет назад
Thank you for this video.
@beat461
@beat461 7 лет назад
this did not work for me. It didn't find the partition.
Далее
Angry bird PIZZA?
00:20
Просмотров 6 млн
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Linux File System/Structure Explained!
15:59
Просмотров 4,2 млн
12 GREAT command line programs YOU recommended!
16:25
Просмотров 281 тыс.
Boot from ISO files using Grub2 in Ubuntu
13:42
Просмотров 36 тыс.
Bash Scripting Masterclass
49:40
Просмотров 1,2 тыс.
But, what is Virtual Memory?
20:11
Просмотров 292 тыс.