Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211745

Re: Can Grub Boot Through a USB Port on an Old PC?

From Tixy <tixy@yxit.co.uk>
Newsgroups linux.debian.user
Subject Re: Can Grub Boot Through a USB Port on an Old PC?
Date 2019-07-26 09:50 +0200
Message-ID <yo39g-1Y1-13@gated-at.bofh.it> (permalink)
References (3 earlier) <yn7HX-8dB-1@gated-at.bofh.it> <ynPSG-2h5-15@gated-at.bofh.it> <ynQvn-2JL-3@gated-at.bofh.it> <ynRB7-3ml-7@gated-at.bofh.it> <ynY9z-7pe-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2019-07-25 at 21:23 -0500, Martin McCormick wrote:
> Tixy <tixy@yxit.co.uk> writes:
> > I've used 'schroot' in the past for this sort of thing, let's you
> > configure what to mount and I believe either defaults or has
> > examples
> > for the common things you're likely to need like /dev and /proc. I
> > don't remember the details as it's been quite some years since I
> > used
> > it.
> 	Thanks for this information.  I have installed schroot
> as this seems to be the missing link I didn't know about.
> 
> 	I knew one had to have all the resources turned on so to
> speak and it looks like schroot  makes getting it right in this
> century much more likely.

This may, or may not, be useful to the sort of work you do, but I also
used it to run a Debian install for a different CPU, in my case an Arm
Debian install running on my x86 PC. I found that getting a PC to
emulate an Arm CPU was a lot quicker and more convenient than doing it
on the Arm single board computers I had. In such a setup, whilst the PC
is having to do lot's of extra works to emulate Arm instructions
for running user code, you are still using the PC's kernel, so disk i/o
is likely an order of magnitude or more faster, and you have available
all the PC's RAM, which is probably a lot more than the ARM board's.

If I remember correct, getting such a setup working was quite straight
forward. To be able to run foreign binaries I think you just need to
install package qemu-user-static and it's recommendation
binfmt-support, and after a quick google just now [1], there is
probably an emulation binary from that which needs copying into the Arm
chroot.

[1] https://wiki.debian.org/RaspberryPi/qemu-user-static

-- 
Tixy

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


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