Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [OT] Customised System Rescue CD -> USB stick and UEFI
Date: Sat, 17 Sep 2016 16:10:39
Message-Id: 1841787.dYm5HkphOM@peak
1 Hello list,
2
3 Has anyone managed to install a customised (or even standard) SysRescCd
4 image onto a USB stick so that it will boot in UEFI mode? I wanted to use
5 the following partition layout:
6
7 (parted) print
8 Model: SanDisk Ultra Fit (scsi)
9 Disk /dev/sda: 59232MiB
10 Sector size (logical/physical): 512B/512B
11 Partition Table: gpt
12 Disk Flags:
13
14 Number Start End Size File system Name Flags
15 1 1.00MiB 128MiB 127MiB BOOTLDR bios_grub
16 2 128MiB 2048MiB 1920MiB fat32 boot boot, esp
17 3 2048MiB 4096MiB 2048MiB linux-swap(v1) SWAP
18 4 4096MiB 16384MiB 12288MiB ext2 sysrescue
19 5 16384MiB 24576MiB 8192MiB ext2 home
20
21 I followed the procedures at https://www.system-rescue-cd.org and thought I
22 was getting on all right until it came to re-creating the squashfs with
23 /usr/sbin/sysresccd-custom squashfs
24 Then I got huge numbers of input-output read errors. So I tried it with
25 2>/dev/null; it got up to 10% completion and a couple of hundred megabytes
26 in sysrccd.dat, then sat in a loop for ever whirling its little spinner.
27
28 I thought I'd ask here before trying the forum because of the density of
29 experts here. ;-)
30
31 Omitting the customisation and just copying all the files into place on
32 /dev/sda4 (root, ext4 with no journal) and /dev/sda2 (boot, vfat) but
33 although the "BIOS" saw it was there, when I tried to run it I was dumped to
34 a grub shell. I don't know grub well so I couldn't proceed.
35
36 If anyone can point me in the right direction I'll be grateful. Ta.
37
38 --
39 Rgds
40 Peter

Replies

Subject Author
Re: [gentoo-user] [OT] Customised System Rescue CD -> USB stick and UEFI Neil Bothwick <neil@××××××××××.uk>