Bonjour Ken On 02/05/2019 10:35 PM, Ken Moffat via lfs-dev wrote:
On Wed, Feb 06, 2019 at 02:43:04AM +0000, DJ Lucas via lfs-dev wrote:On 2/5/2019 7:35 PM, Ken Moffat via lfs-dev wrote:So far, all my linux machines have had CD or DVD drives, so I have not needed to create bootable usb sticks. But I'm hoping to get a new laptop, and all the interesting and available ones come with windoze-10 installed and without a DVD drive. So, I need to convert downloaded iso images to bootable UEFI sticks to be able to install.I usually just use dd as well, but the ISO has to be authored correctly to do that. I also have a USB DVD drive handy if I need it.Thanks. That gives me hope if I install a distro as the first stage. I tried some different search terms after posting (the last time I looked re SRCD and sticks I think I just got ubuntu answers). This time I got an "official" link mentioning changing various things, so it looks as id 'dd' is just for 'hybrid' ISO files. I left the dev machine building dosfstools (thanks for adding that, I didn't think I'd ever need it) so I can try different approaches in the next few days.Advice from fedora and Arch suggests: # dd bs=4M if=path/to/some.iso of=/dev/sdX \ status=progress oflag=sync although docs at kali suggest bs=512k is more conservative and might be more reliable. So I tried that with a copy of SystemRescueCD, using /dev/sdb on a machine with only one real drive. With bs=4M it claimed to copy 499MB, on a later retry with bs=512K it claimed to copy 571MB.I was not aware that SystemRescueCD was still current enough to build LFS.Maybe it isn't - but it has some useful tools and will give confirmation that whichever 'magic' key I hold down on a cold boot (maybe F2, but depends who wrote the UEFI) does let me boot from a stick.But (testing on a couple of existing linux machiens which are new enough to boot from a stick) in neither case did it boot, and the bios/UEFI of the systems where I tried it did not recognize it as UEFI. Conmversely, I had created a memtest86 stick from within a windoze machine in the past, and that _is_ recognized as UEFI and booted by both the linux machines. When I mount the iso (or the stick I created, as iso9660) I can see the EFI directory, so I'm apparently doing something wrong. Looking at the stick from grub2 when trying to boot ('ls'), it appears as fd0 and 'ls (fd0)' showed an appreviation relating to systemRescueCD (sysrescu or something like that). Any ideas, please ?Never tried this, but pendrivelinux says grub2 can handle it just fine by loading the ISO directly from the filesystem, no conversion necessary. I'm curious how this works. https://u9506022.ct.sendgrid.net/wf/click?upn=whJjosCeOLYzQfP1KFWXmZmv85aTceATmmbEPqJT0-2FaKKTsgt0BKRUwbuEXRiHPDUBA7HilwBsIHhIIO70LWKBPUYMtpHT1rMnhcLdtFgBuI81sT4gD8YP8HkO81-2Bony_Jk5LPYwsS0SsgumitnMItu9QU7Qj-2BgmCmPDCx2Jg8xDqlduZYllnrBzoZ5DawB3O-2FshP7AlsiFwpJ-2Fo7VEvNjmEiicgBKiYKG0Hw0qe6W93DYabfG-2FThi-2Bx2eWMiU4QoLbBP2FxhGYS128gQSlPsPlRDn-2FtcvsmNwLQB87fAw0-2BkAYmmnkSddLa98FFXsPE8IC3jfKsZOgfzfEdC4M5flhegK16zCTmErIRuKSotD28-3DI'm currently on my (ancient) netbook, copy-and-paste-in-urxvt disappeared ages ago so I can't check that for the moment - but I agree that it sounds odd.Other advice on 'buntu suggested unetbootin' - gentoo have a patch to use qt5 (at the cost of no ftp listing) although one of the patched files no longer exists (possibly, a ruby script). With that ignored, I could create it - but giving it a trial run gave me lots of pop-up messages (in legacy Xorg fonts, i.e. tiny and hard to read) suggesting that I needed a lot of other packages. A comment at fedora suggests that in fact it needs 32-bit libraries : fat chance of that.That's doable, but not the easiest thing in the world.Agreed, but a diversion from what I want to do.And I'm on sysv so I don't have gnome disk utility which fedora recommend for creating (Live) boot sticks.I'm working toward that, but doubt it's ready for 8.4. --DJI suspect I won't like gdu. Even just installing 'file manager' (I suppose that is nautilus) has meant that a large number of downloads default to opening in that instead of saving. So please don't prioritise that on my account. But thanks for thr comments on 'dd' - if I end up installing 'buntu to bootstrap LFS, I'm hopeful that will work. And I wish I had bought more of these sticks to play with, but using a 16GB stick (smallest currently available) for something which is under 1GB seems so wasteful. ĸen
May be that can help you. https://okrepo.safe.ca/osukiss/8.4/isos/LFS-8.4-1.23.3-rescue-x86_64.iso This is a bootable ISO with LFS within. can be used to install or to rescue. To get an USB bootable, I just dd the ISO file to the USB device. (This ISO is fresh from today, I am tring to stay in pace with LFS CVS version ;) ). -- seen "Linux from scratch" and looking for ISO files www.osukiss.org
smime.p7s
Description: S/MIME Cryptographic Signature
-- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
