Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #211733
| From | "Martin McCormick" <martin.m@suddenlink.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Can Grub Boot Through a USB Port on an Old PC? |
| Date | 2019-07-25 19:40 +0200 |
| Message-ID | <ynPSG-2h5-15@gated-at.bofh.it> (permalink) |
| References | <ymTbX-7qj-1@gated-at.bofh.it> <ymVnr-yQ-3@gated-at.bofh.it> <yn53t-6tJ-45@gated-at.bofh.it> <yn7HX-8dB-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Pascal Hambourg <pascal@plouf.fr.eu.org> writes: > Did you consider chroot instead of multiboot ? I have had some time to play with chroot and there is only 1 problem I have just discovered with everything else working perfectly. What I did was use what would have been the wheezy boot drive as follows: The only partition that could be used here was partition 1 which, on this system was /dev/sde1. I mounted /dev/sde1 to /mnt and used rsync to copy everything it could including devices to /home/wheezy rsync --devices -alHvbq /mnt/ /home/wheezy It appears to have done that and /dev/ttyUSB0 was there so I tried to test it as user martin, not root as in "Safety, first." When I tried to access the port, I got Permission denied which means one isn't in the dialout group. This always happens if you forget to add yourself via usermod as root. I went backup to root while still in jail and commanded: usermod -a -Gdialout martin There was no complaint so I su'd back to martin and did groups martin. I was in all the groups one is put in by default when creating a new account but no dialout. After trying a full logout from the jail, I did what many criminals do and went right back in and tried groups martin once again. No dialout and no complaint either. I did successfully compile a small PIC binary from source with the old environment and compared it with a compile from 2016 and noticed that the binaries were different. After saying a few choice words, I checked a little further and noticed that both were exactly the same size to the byte so I ran strings on each binary and found or maybe rediscovered that gpasm which is the PIC assembler puts a time and date stamp on each build you make from source so I don't know for sure that the new build is exactly the same but I would bet money it is. Anyway, usermod from jail fails quietly and I never get added to dialout. Again thanks for the suggestion and any constructive ideas are appreciated. Many thanks. Martin McCormick
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can Grub Boot Through a USB Port on an Old PC? "Martin McCormick" <martin.m@suddenlink.net> - 2019-07-23 05:00 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? David Christensen <dpchrist@holgerdanske.com> - 2019-07-23 05:10 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Patrick Bartek <nemommxiv@gmail.com> - 2019-07-23 05:40 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-07-23 07:20 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? "Martin McCormick" <martin.m@suddenlink.net> - 2019-07-23 17:40 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Brian <ad44@cityscape.co.uk> - 2019-07-23 18:40 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-07-23 20:30 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Pascal Hambourg <pascal@plouf.fr.eu.org> - 2019-07-23 20:40 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? "Martin McCormick" <martin.m@suddenlink.net> - 2019-07-23 23:40 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? "Martin McCormick" <martin.m@suddenlink.net> - 2019-07-25 19:40 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Andrei POPESCU <andreimpopescu@gmail.com> - 2019-07-25 20:20 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Tixy <tixy@yxit.co.uk> - 2019-07-25 21:30 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? "Martin McCormick" <martin.m@suddenlink.net> - 2019-07-26 04:30 +0200
Re: Can Grub Boot Through a USB Port on an Old PC? Tixy <tixy@yxit.co.uk> - 2019-07-26 09:50 +0200
csiph-web