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


Groups > linux.debian.user > #231225

Re: Installing Debian Buster on Cubox-i4 with eSATA drive.

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Installing Debian Buster on Cubox-i4 with eSATA drive.
Date 2021-01-28 07:40 +0100
Message-ID <BC98e-6EJ-1@gated-at.bofh.it> (permalink)
References <BC76p-5oR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mi, 27 ian 21, 20:03:22, Rick Thomas wrote:
> I'm trying to install Debian Buster [1] on my Cubox-i4P with an eSATA 
> drive. Everything seems to be fine, but when it comes time to reboot, 
> it boots into the installer again, rather than the installed system.
> 
> Here's what I did, and what I observed:

[...]
 
> What I hoped would happen with the eSATA drive was that the installer 
> would write the boot firmware (u-boot, etc) to the SDcard, and 
> configure it to get /boot, root, /home, swap off the eSATA.
> 
> What I suspect has happened is that the boot firmware (u-boot, etc) 
> was written to the eSATA drive and so it can't be found by the 
> power-up routine without some reconfiguration to tell it to look at 
> the eSATA, but that isn't happening.
> 
> Anybody know what I can do to either:
> 1) Tell the power-up routines to look at the eSATA?
>    or

If at all possible this is highly device specific, so you should check 
the support channels (forums, etc.) for Cubox-i4P.

> 2) Write the boot firmware to the SD card and configure it to get the 
> rest of the system from the eSATA?

[...]

> PS:   In a previous attempt, I used a 64GB SDcard without the eSATA 
> disk -- putting everything onto the SDcard.  That worked fine (It put 
> the boot stuff on the SDcard) but it's horribly slow due to the very 
> low speed of data transfer to and from the SDcard.

Something like this could work:

1. Install Debian to an SD-card (maybe a minimal install if the card is 
small), make sure to have a separate /boot.

2. Partition your eSATA drive as you see fit and copy the contents of 
the / partition (and others if any) to the drive.

This is best done on another computer.

3. Find where/how the root= parameter is passed to the kernel and adjust 
it to point to the / partition on the eSATA drive instead.

4. Adjust /etc/fstab on the eSATA drive to have the /boot partition 
mounted to /boot. This is necessary to make kernel updates work.

If possible configure flash-kernel to keep your boot= parameter, 
otherwise you'll have to do that manually at each kernel upgrade.

If the boot process is simple enough it might be possible to switch to 
u-boot-menu instead of flash-kernel. It's much simpler and easier to 
configure, and also provides a text boot menu.


Hope this helps,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

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


Thread

Installing Debian Buster on Cubox-i4 with eSATA drive. "Rick Thomas" <rick.thomas@pobox.com> - 2021-01-28 05:30 +0100
  Re: Installing Debian Buster on Cubox-i4 with eSATA drive. Jeremy Ardley <jeremy@ardley.org> - 2021-01-28 05:40 +0100
  Re: Installing Debian Buster on Cubox-i4 with eSATA drive. Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-28 07:40 +0100
  Re: Installing Debian Buster on Cubox-i4 with eSATA drive. Vagrant Cascadian <vagrant@debian.org> - 2021-01-28 08:30 +0100
    Re: Installing Debian Buster on Cubox-i4 with eSATA drive. "Rick Thomas" <rick.thomas@pobox.com> - 2021-01-28 09:30 +0100
      Re: Installing Debian Buster on Cubox-i4 with eSATA drive. "Rick Thomas" <rick.thomas@pobox.com> - 2021-01-29 03:40 +0100
        Re: Installing Debian Bullseye on Cubox-i4 with eSATA drive...  "No kernel modules found" Holger Wansing <hwansing@mailbox.org> - 2021-01-29 10:10 +0100
          Re: Installing Debian Bullseye on Cubox-i4 with eSATA drive... No ethernet detected "Rick Thomas" <rbthomas@pobox.com> - 2021-01-30 04:20 +0100
            Re: Installing Debian Bullseye on Cubox-i4 with eSATA drive... No  ethernet detected Vagrant Cascadian <vagrant@debian.org> - 2021-01-30 04:50 +0100
            Re: Installing Debian Bullseye on Cubox-i4 with eSATA drive... No ethernet detected "Rick Thomas" <rick.thomas@pobox.com> - 2021-02-07 02:10 +0100
              Re: Installing Debian Bullseye on Cubox-i4 with eSATA drive... No  ethernet detected Vagrant Cascadian <vagrant@debian.org> - 2021-02-07 02:50 +0100

csiph-web