Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Use SD card for root

  1. #1
    Join Date
    Aug 2012
    Location
    Austin, TX
    Posts
    77

    Default Use SD card for root

    Hi,

    I am aware that I can actually install openSUSE to SD card, but I don't think laptops I have (Lenovo T500, Dell E6400) support booting from SD card.

    So I was wondering if it is possible to boot from the HDD, but put root into the sd card so I can install packages to SD card.

    Best,
    Joon

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    22,857

    Default Re: Use SD card for root

    On 2012-12-02 03:26, joonro wrote:

    > So I was wondering if it is possible to boot from the HDD, but put root
    > into the sd card so I can install packages to SD card.


    I think so, yes.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Use SD card for root

    Quote Originally Posted by joonro View Post
    Hi,

    I am aware that I can actually install openSUSE to SD card, but I don't think laptops I have (Lenovo T500, Dell E6400) support booting from SD card.

    So I was wondering if it is possible to boot from the HDD, but put root into the sd card so I can install packages to SD card.

    Best,
    Joon
    You could do try this by just placing the Grub 2 boot loader into the MBR of your internal hard drive and the rest on the SD. I would think though you would want to also separate out the /boot folder and place it on the internal hard drive as well so you could boot something other than the SD card later. This will require a custom partition setup and a modification of the booting section and making sure not to put into jeopardy your personnel data while trying to make this work. So make a data backup before you do anything else.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    Aug 2012
    Location
    Austin, TX
    Posts
    77

    Default Re: Use SD card for root

    Quote Originally Posted by jdmcdaniel3 View Post
    You could do try this by just placing the Grub 2 boot loader into the MBR of your internal hard drive and the rest on the SD. I would think though you would want to also separate out the /boot folder and place it on the internal hard drive as well so you could boot something other than the SD card later. This will require a custom partition setup and a modification of the booting section and making sure not to put into jeopardy your personnel data while trying to make this work. So make a data backup before you do anything else.
    Thanks a lot for the reply. Can I do this by choosing hdd for /boot, sd card for /, and hdd for /home when I install openSUSE?

    -Joon

  5. #5
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,500
    Blog Entries
    48

    Smile Re: Use SD card for root

    Quote Originally Posted by joonro View Post
    Thanks a lot for the reply. Can I do this by choosing hdd for /boot, sd card for /, and hdd for /home when I install openSUSE?

    -Joon
    So, you must select a custom partition, not based on anything openSUSE comes up with. You need free space somewhere or you are downsizing existing partitions or you are deleting them. You can use an existing SWAP and /home partition if you want to. You should then create a /boot partition on the internal hard drive (/dev/sda) and it likely should be a primary partition (sda1, sda2, sda3 or sda4) of 2 to 4 GB's in size. That means you add a partition, make it EXT4, a primary partition and mount it as /boot. You will want to think about where to place your /home folder and the SWAP partition. Next, for root, make a EXT4 partition on the SD drive, which must be installed before you boot the CD or DVD and assign it to root /. Create a EXT4 primary partition there and I would hope you got at least a 16 GB size SD Card. You normally need at least three partitions total between all drives, the Root /, SWAP and /home and you are adding in a forth for /boot. Before you select install In the booting section, you can select a custom boot location and make sure it just says /dev/sda with no partition number. Before you elect to continue the install, it should say in the boot section to install Grub into the MBR. You know you can go through the paces but just abort before you allow the install to continue and write down any new questions you have and don’t allow the install to continue. I have a write up on partitioning, but not to do what you ask, but still helpful none-the-less.

    https://forums.opensuse.org/content/...g-install.html

    Thank You,
    Last edited by jdmcdaniel3; 01-Dec-2012 at 20:46.
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  6. #6
    Join Date
    Aug 2012
    Location
    Austin, TX
    Posts
    77

    Default Re: Use SD card for root

    Quote Originally Posted by jdmcdaniel3 View Post
    So, you must select a custom partition, ...
    What a detailed instructions! Thank you so much! I will try this and ask you again if I have any other questions.

    -Joon

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    16,104

    Default Re: Use SD card for root

    Quote Originally Posted by joonro View Post
    Thanks a lot for the reply. Can I do this by choosing hdd for /boot, sd card for /, and hdd for /home when I install openSUSE?

    -Joon
    Of course you can make a seperate partition for /boot when you want. Linux does not care about the real hardware (revolving disk, static memory) beneath it. And Linux also does not care about where the partitions are (on different devices). So the mixing is up to you. In your case, a /boot aprtiition on a device the BIOS can boot from and GRUB in it's MBR looks fine to me. You can tell the installer what you want (expert mode or such wording in it's partition part).
    Henk van Velden

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    22,857

    Default Re: Use SD card for root

    On 2012-12-02 04:06, jdmcdaniel3 wrote:

    > You could do try this by just placing the Grub 2 boot loader into the
    > MBR of your internal hard drive and the rest on the SD.


    Another method, assuming the OP has Windows in the HD and doesn't want
    to touch that HD, is to use the Windows native booter, configured with
    BCDedit.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  9. #9
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    16,104

    Default Re: Use SD card for root

    Quote Originally Posted by robin_listas View Post

    ...
    assuming the OP has Windows in the HD and doesn't want
    to touch that HD, ......

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)
    I am not assuming any Windows, because he did not tell. When your assumption is correct, this would be a big ommision from the OP's side ;(
    Henk van Velden

  10. #10
    Join Date
    Aug 2012
    Location
    Austin, TX
    Posts
    77

    Default Re: Use SD card for root

    Quote Originally Posted by hcvv View Post
    I am not assuming any Windows, because he did not tell. When your assumption is correct, this would be a big ommision from the OP's side ;(
    I don't have windows installed.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •