Update README.md
This commit is contained in:
parent
304a3d43f4
commit
24b58dc92d
24
README.md
24
README.md
|
@ -357,9 +357,18 @@ sudo umount $HOME/live-ubuntu-from-scratch/chroot/run
|
||||||
sudo cp chroot/boot/initrd.img-**-**-generic image/casper/initrd
|
sudo cp chroot/boot/initrd.img-**-**-generic image/casper/initrd
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Copy memtest binary
|
3. Copy memtest86+ binary (BIOS)
|
||||||
```
|
```
|
||||||
sudo cp chroot/boot/memtest86+.bin image/install/memtest
|
sudo cp chroot/boot/memtest86+.bin image/install/memtest86+
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Extract memtest86 binary (UEFI)
|
||||||
|
```
|
||||||
|
wget --progress=dot https://www.memtest86.com/downloads/memtest86-usb.zip -O image/install/memtest86-usb.zip
|
||||||
|
|
||||||
|
unzip -p image/install/memtest86-usb.zip memtest86-usb.img > image/install/memtest86
|
||||||
|
|
||||||
|
rm image/install/memtest86-usb.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
## Grub configuration
|
## Grub configuration
|
||||||
|
@ -395,8 +404,13 @@ sudo umount $HOME/live-ubuntu-from-scratch/chroot/run
|
||||||
initrd /casper/initrd
|
initrd /casper/initrd
|
||||||
}
|
}
|
||||||
|
|
||||||
menuentry "Test memory" {
|
menuentry "Test memory Memtest86+ (BIOS)" {
|
||||||
linux16 /install/memtest
|
linux16 /install/memtest86+
|
||||||
|
}
|
||||||
|
|
||||||
|
menuentry "Test memory Memtest86 (UEFI, long load time)" {
|
||||||
|
loopback loop /install/memtest86
|
||||||
|
chainloader (loop,1)/EFI/BOOT/BOOTX64.efi
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
```
|
```
|
||||||
|
@ -558,4 +572,4 @@ sudo umount $HOME/live-ubuntu-from-scratch/chroot/run
|
||||||
It is simple and easy, using "dd"
|
It is simple and easy, using "dd"
|
||||||
```
|
```
|
||||||
sudo dd if=ubuntu-from-scratch.iso of=<device> bs=4M
|
sudo dd if=ubuntu-from-scratch.iso of=<device> bs=4M
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue