GAP
Posts: 105
Joined: Thu Apr 12, 2018 9:18 am
Location: New South Wales Australia

Re: Move Pi home from SD card to a HDD

Wed Sep 12, 2018 10:27 am

An update

I purchased a 1 TB USB HDD that can connect directly to my Pi (similar to one suggested in another thread).

I copied my SD card onto it using the copier in Raspbian then powered Pi and removed the SD card, I then connected the HDD to Pi and powered it up and it booted.

So far so good, I then used gparted to view the partitions on the HDD and noted that there were 2 as expected (boot & rootfs).

Using gparted I then attempted to reduce the size of of rootfs so that I ended up with 900GB of unallocated partition (Original disc size 931.78 GB so boot and rootfs occupied 31.78GB).

I next rebooted Pi and it would not load, I just got pages of messages all starting with "Failed" plus data afterwards.

I surmised that by resizing the rootfs partition I lost data hence the errors.

I then created partitions of 31GB (EXT4) and 900GB (NTFS), download the latest version of stretch and using Etcher wrote it to the 31Gb partition, when I connected the HDD to Pi it started to boot then stopped at the raspberries screen and went no further. I appears that Raspbian will not share a drive with anything else.

I have tried numerous methods to get Pi to boot from the HDD without Raspbian occupying the whole 1TB of the HDD.

Getting to the question now which is; has anybody had any experience of booting a Pi from a HDD partiton and using the same HDD as a storage device ie simply making the HDD appear as 2 HDDs?

The moving Pi home to the HDD is now on the back burner while I explore this method.

As a footnote I found that Pi detected the HDD (a WD Elements 1TB external drive powered from the USB port) and booted from it without me having to change a single thing in the stretch download (no boot bin on an SD card) so the progress by the RPF in this area is to be commended.

ejolson
Posts: 1835
Joined: Tue Mar 18, 2014 11:47 am

Re: Move Pi home from SD card to a HDD

Wed Sep 12, 2018 12:05 pm

GAP wrote:
Wed Sep 12, 2018 10:27 am
I surmised that by resizing the rootfs partition I lost data hence the errors.
Raspbian mounts the root filesystem using a partition UUID which likely changed when you resized the partition. If so, this would explain why the system didn't boot afterwards.

One solution is to give the root partition a label such as RASPIAN and then change /boot/cmdline.txt to specify root=LABEL=RASPBIAN. Another solution would be to update the root= directive with the changed UUID.

GAP
Posts: 105
Joined: Thu Apr 12, 2018 9:18 am
Location: New South Wales Australia

Re: Move Pi home from SD card to a HDD

Thu Sep 13, 2018 9:18 am

If I load Raspbian and let it take over my 1TB HDD (which it does) I can then boot from it and I have my Desktop and a massive Documents folder on my HDD instead of an SD card - Yes/No?

If I connect a 2nd HDD to my Pi formatted as NTFS, which will show as a mounted HDD in media/Pi, I can then view/access it from my XP machine using Samba. I have now overcome the limits of using an SD card read/write wise - Yes/No?

I believe that if I pursue this scenario I should end up with a fully functional Pi desktop machine am I correct - Yes/No?

LTolledo
Posts: 533
Joined: Sat Mar 17, 2018 7:29 am

Re: Move Pi home from SD card to a HDD

Thu Sep 13, 2018 10:21 am

Hi there! Glad you're back!
GAP wrote:
Thu Sep 13, 2018 9:18 am
If I load Raspbian and let it take over my 1TB HDD (which it does) I can then boot from it and I have my Desktop and a massive Documents folder on my HDD instead of an SD card - Yes/No?
Yes, the /home/pi/Desktop and /home/pi/Documents resides on the boot HDD. Actually its made to be there by default during installation. You can check it out using the file manager, and start moving your files there.
GAP wrote: If I connect a 2nd HDD to my Pi formatted as NTFS, which will show as a mounted HDD in media/Pi, I can then view/access it from my XP machine using Samba. I have now overcome the limits of using an SD card read/write wise - Yes/No?
another Yes. Actually I've been doing the same thing on my torrent box. It has 2 NTFS formatted HDDs shared to the network via samba. Windows, Mac, Android, and other Linux OS can see and access the 2 HDDs.

for others who started reading from this point, make sure you install ntfs-3g to have full access to the NTFS formatted HDDs
GAP wrote: I believe that if I pursue this scenario I should end up with a fully functional Pi desktop machine am I correct - Yes/No?
Speaking from my experience with this RPi3B+ (and the RPi3B before this), its a Yes from me. (others may have different view on the matter)

Once you've completed your preferred setup, and copying of your important data... do remember to make an image backup of the system on the HDD boot drive. I think we've covered the procedure for that in our previous discussions....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

GAP
Posts: 105
Joined: Thu Apr 12, 2018 9:18 am
Location: New South Wales Australia

Re: Move Pi home from SD card to a HDD (Given up)

Fri Sep 14, 2018 3:14 am

I'm just giving up and going along with the above method of using the HDD like its a big SD card.
Raspbian just takes over my HDD like a virus and no matter what I try I can't stop it.
Time to admit defeat its just not worth the angst anymore.

ejolson
Posts: 1835
Joined: Tue Mar 18, 2014 11:47 am

Re: Move Pi home from SD card to a HDD (Given up)

Fri Sep 14, 2018 4:16 am

GAP wrote:
Fri Sep 14, 2018 3:14 am
I'm just giving up and going along with the above method of using the HDD like its a big SD card.
Raspbian just takes over my HDD like a virus and no matter what I try I can't stop it.
Time to admit defeat its just not worth the angst anymore.
Sometimes, especially with computers, it's good to take a break. Sometimes the problem seems much easier a year later: the technology improves as does ones understanding.

Having said this, I think it is possible to edit cmdline.txt before first boot and remove the option that causes Raspbian to resize the partition to take over the entire disk. At this point, however, it is probably best to work on something else.

GAP
Posts: 105
Joined: Thu Apr 12, 2018 9:18 am
Location: New South Wales Australia

Re: Move Pi home from SD card to a HDD (Given up)

Fri Sep 14, 2018 10:34 am

ejolson wrote:
Fri Sep 14, 2018 4:16 am
GAP wrote:
Fri Sep 14, 2018 3:14 am
I'm just giving up and going along with the above method of using the HDD like its a big SD card.
Raspbian just takes over my HDD like a virus and no matter what I try I can't stop it.
Time to admit defeat its just not worth the angst anymore.
Sometimes, especially with computers, it's good to take a break. Sometimes the problem seems much easier a year later: the technology improves as does ones understanding.

Having said this, I think it is possible to edit cmdline.txt before first boot and remove the option that causes Raspbian to resize the partition to take over the entire disk. At this point, however, it is probably best to work on something else.
It is working like this;
The Pi boots off the HDD and I have loads of space for documents and desktop both of which ar accessible from the XP via the ethernet cable using samba.

I have connected a 2nd 1TB HDD again accessible from XP, attached to XP is a 500GB HDD plus there is its internal HDD so I now have so much storage I should never fill it up.
Its just now a matter of accessing the XP HDD from Pi I had that working before.

Until I gain more experience (like how to edit text line) with Pi and can get some Pi time I will run like this.

Thank you to all who have offered suggestions and help it was much appreciated even if I did end up just quitting to take a breather and get the frustration under control.

For future people who may read this the HDD is a WD elements running straight off the USB port and Pi mounted it automatically straight out of the box with no changes to software at all.

LTolledo
Posts: 533
Joined: Sat Mar 17, 2018 7:29 am

Re: Move Pi home from SD card to a HDD (Given up)

Fri Sep 14, 2018 10:53 am

Glad you had your RPi booting from HDD (though not as you hoped it should behave), and attached a working 2nd HDD.

I might try this weekend doing a HDD split for the boot drive (I think this is what you wanted, 3 partitions /BOOT, /, and [my partition]) and see if it will work or "will kick the bucket"....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

BlackKnight_UK
Posts: 64
Joined: Mon Jan 02, 2017 10:51 am

Re: Move Pi home from SD card to a HDD (Given up)

Fri Sep 14, 2018 10:58 am

I wish I could remember what I did. On my Pi2 I wanted to do the same thing, put the home folder on an external drive, I did that and got it working then realized I could put the whole OS on the external drive.

k-pi
Posts: 531
Joined: Sun Feb 12, 2017 1:46 pm
Location: Upper Hale, Surrey, UK.

Re: Move Pi home from SD card to a HDD (Given up)

Fri Sep 14, 2018 1:39 pm

To have your /home on an external drive, you only have to add it to /etc/fstab.

LTolledo
Posts: 533
Joined: Sat Mar 17, 2018 7:29 am

Re: Move Pi home from SD card to a HDD (Given up)

Sun Sep 16, 2018 9:11 am

Well it is weekend so I tried something that I posted that I will do, "HDD split" for the boot HDD drive.

If raspbian is flashed to USB device (from here on will use "HDD" as USB device) using Etcher, even if the HDD is partitioned to 2 (or 2+n) parts, Etcher will delete all partitions and flash raspbian into 1 big single partition. The HDD has a capacity of 250GB

Proceeded with installing raspbian on that one big partition. The RPi used in this test installation is an RPi3B
Once the initial raspbian installation was finished, proceeded to installing my favorite packages/apps.

So I still have one big partition on the 250GB HDD. But I want to have the root partition to be smaller (say about 100GB ).

Shutdown RPi3B, unplugged the HDD and plugged it into another RPi (RPi3B+ with a 32GB USB flashdrive boot).
***This can be substituted by using a microSD card with an installed raspbian desktop on the RPi3B***
Once the HDD was mounted, used gparted to unmount and shrink the root partition on the HDD to just about 97GB.
The remaining space in the HDD was left as un-allocated space (not formatted)
After the shrinking process was completed, exited gparted, unplug the HDD from RPi3B+ and plugged it again to RPi3B.

Powered up the RPi3B... it booted! Yay!
So my RPi3B booted on a shrunk root partition of the HDD. I was expecting it not to, but good thing it did.

Next I opened gparted on the RPI3B and formatted the remaining un-allocated space in the HDD to NTFS format.
After the format process was completed, exited gparted and issued reboot command.

Aaaaaand it rebooted without any problems! Success! "HDD split" is possible!

below are some of command outputs after the process.

Code: Select all

[email protected]:~ $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 232.9G  0 disk 
├─sda1   8:1    0  43.2M  0 part /boot
├─sda2   8:2    0  97.3G  0 part /
└─sda3   8:3    0 135.5G  0 part /media/pi/mypartition

Code: Select all

[email protected]:~ $ blkid
/dev/sda1: LABEL="boot" UUID="6228-7918" TYPE="vfat" PARTUUID="51301da5-01"
/dev/sda2: LABEL="rootfs" UUID="6bfc8851-cf63-4362-abf1-045dda421aad" TYPE="ext4" PARTUUID="51301da5-02"
/dev/sda3: LABEL="mypartition" UUID="641102156BE01A4D" TYPE="ntfs" PTTYPE="dos" PARTUUID="51301da5-03"
Next is how to direct raspbian to change the path of home directory from /home to /media/pi/mypartition/home
This one I need help with
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

epoch1970
Posts: 1935
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Move Pi home from SD card to a HDD (Given up)

Sun Sep 16, 2018 4:43 pm

LTolledo wrote:
Sun Sep 16, 2018 9:11 am
Next is how to direct raspbian to change the path of home directory from /home to /media/pi/mypartition/home
This one I need help with
Briefly and untested, as I do not have a Stretch machine installed ATM:
- I'm not certain an NTFS system can hold a unix user home directory? Perhaps an ext4 partition is preferable. In this case the question is moot.
- /media is supervised by the system which plays with access rights (and namespaces), it is better to use a custom mountpoint to avoid such interferences, such as /mnt/mydrive

This being said, I see 3 ways of doing it, in theory:
1 - You could run usermod (or some user administration utility) and change the homedir of user Pi to the new home and copy its contents. ~pi will point to the external drive once you login/logout (try logging in from another window, don't logout completely from the machine!)
2 - You could replace /home/pi with a symbolic link pointing to /mnt/mydrive/pi
3 - You could "bind mount" /mnt/mydrive/pi to /home/pi. Apparently ntfs3g handles bind mounts.
First one is the simplest and should work. Second one is rather bad, if the drive is not here the homedir will be missing, making login impossible. Third one is fancy: you could keep your current /home/pi directory contents and remount /mnt/mydrive/pi on top of it, masking the original contents; login using the original contents of /home/pi should be by and large possible even if the external drive is missing.

That is for the theory. In practice, systemd and its parallel mounting procedure might give you a hard time with bind mounts. For my part on Jessie machine I gave up on using fstab for bind mounts, and went with autofs5 direct mounts to handle them.

My recommendation would be to see if moving $HOME with usermod is enough, and if not to create an extra ext4 partition and mount it to /home/pi.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

ejolson
Posts: 1835
Joined: Tue Mar 18, 2014 11:47 am

Re: Move Pi home from SD card to a HDD (Given up)

Sun Sep 16, 2018 6:53 pm

epoch1970 wrote:
Sun Sep 16, 2018 4:43 pm
LTolledo wrote:
Sun Sep 16, 2018 9:11 am
Next is how to direct raspbian to change the path of home directory from /home to /media/pi/mypartition/home
This one I need help with
I'm not certain an NTFS system can hold a unix user home directory?
You are right NTFS does not work for home directories. The simplest solution is to leave home where it is and create a symbolic link to make accessing the NTFS partition easier. For example,

$ cd
$ ln -s /mnt/mydrive mydrive

This will make a shortcut in your home directory that takes you to the NTFS partition.

GAP
Posts: 105
Joined: Thu Apr 12, 2018 9:18 am
Location: New South Wales Australia

Re: Move Pi home from SD card to a HDD

Wed Sep 19, 2018 6:49 am

LTolledo wrote:
Sun Sep 16, 2018 9:11 am
Well it is weekend so I tried something that I posted that I will do, "HDD split" for the boot HDD drive.

If raspbian is flashed to USB device (from here on will use "HDD" as USB device) using Etcher, even if the HDD is partitioned to 2 (or 2+n) parts, Etcher will delete all partitions and flash raspbian into 1 big single partition. The HDD has a capacity of 250GB

Proceeded with installing raspbian on that one big partition. The RPi used in this test installation is an RPi3B
Once the initial raspbian installation was finished, proceeded to installing my favorite packages/apps.

So I still have one big partition on the 250GB HDD. But I want to have the root partition to be smaller (say about 100GB ).

Shutdown RPi3B, unplugged the HDD and plugged it into another RPi (RPi3B+ with a 32GB USB flashdrive boot).
***This can be substituted by using a microSD card with an installed raspbian desktop on the RPi3B***
Once the HDD was mounted, used gparted to unmount and shrink the root partition on the HDD to just about 97GB.
The remaining space in the HDD was left as un-allocated space (not formatted)
After the shrinking process was completed, exited gparted, unplug the HDD from RPi3B+ and plugged it again to RPi3B.

Powered up the RPi3B... it booted! Yay!
So my RPi3B booted on a shrunk root partition of the HDD. I was expecting it not to, but good thing it did.

Next I opened gparted on the RPI3B and formatted the remaining un-allocated space in the HDD to NTFS format.
After the format process was completed, exited gparted and issued reboot command.

Aaaaaand it rebooted without any problems! Success! "HDD split" is possible!

below are some of command outputs after the process.

Code: Select all

[email protected]:~ $ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 232.9G  0 disk 
├─sda1   8:1    0  43.2M  0 part /boot
├─sda2   8:2    0  97.3G  0 part /
└─sda3   8:3    0 135.5G  0 part /media/pi/mypartition

Code: Select all

[email protected]:~ $ blkid
/dev/sda1: LABEL="boot" UUID="6228-7918" TYPE="vfat" PARTUUID="51301da5-01"
/dev/sda2: LABEL="rootfs" UUID="6bfc8851-cf63-4362-abf1-045dda421aad" TYPE="ext4" PARTUUID="51301da5-02"
/dev/sda3: LABEL="mypartition" UUID="641102156BE01A4D" TYPE="ntfs" PTTYPE="dos" PARTUUID="51301da5-03"
Next is how to direct raspbian to change the path of home directory from /home to /media/pi/mypartition/home
This one I need help with
That procedure is what I have been trying with no luck.
I was given the same procedure from another Pi user and it worked for him as well.
When I try to unmount the sda partitions I get "cannot unmount this partition" it was at this point I just gave up previously

To clarify what I have done is;
Power down Pi install the SD card that I copied onto the HDD and started up Pi.
Then went to gparted and tried to unmount the partitions on sda (the HDD) which is where I get the error messages.
Where am I going wrong with this is it because I am using the same Pi (only have one)?

Also I now have a 160GB SATA 2.5" HDD that I can copy my SD card to but when I try to start Pi off it it will not boot.
I think I am back to my old problem of the HDD not spinning up fast enough.
Going back over old ground here but I seem to remember a one liner of add a delay line in a cmd.txt file.
I am willing to try this but have so far not been able to find which command to use.

A step by step instruction on how to do that would be marvellous.

EDIT; I have had this recommended to me by a member on my model train forum who is also using a Pi to control his layout which is my ultimate goal.
sudo nano /boot/cmdline.txt and add rootwait text to the line.

Only problem is that when it come to nano I struggle badly, Leafpad works for me so I will use that.

Recommended
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait text splash plymouth.ignore-serial-consoles

My current
dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=93a87dd1-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quietsplash plymouth.ignore-serial-consoles

LTolledo
Posts: 533
Joined: Sat Mar 17, 2018 7:29 am

Re: Move Pi home from SD card to a HDD

Wed Sep 19, 2018 10:06 am

GAP wrote: .... install the SD card that I copied onto the HDD and started up Pi.
I think this may be the cause of the problem.

can you try booting your one-and-only RPi3B+ using a microSD with freshly installed raspbian stretch with desktop.

once booting is finished, install gparted. dont need to update or upgrade at the moment (its only a temporary installation, but you may keep it if you want to.)

then plug in the USB HDD that you want to split. you should be able to unmount the plugged HDD and split it now in gparted.

below is the cmdline.txt from the HDD split setup: (3.5" 250GB HDD in 12v self powered SATA to USB 2.0 HDD case)

Code: Select all

dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=51301da5-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
below is the fstab:

Code: Select all

proc            /proc           proc    defaults          0       0
PARTUUID=51301da5-01  /boot           vfat    defaults          0       2
PARTUUID=51301da5-02  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that
as you can see the other part of the split is not mounted via fstab

however when I check via lsblk and df -h
~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT

Code: Select all

sda      8:0    0 232.9G  0 disk 
├─sda1   8:1    0  43.2M  0 part /boot
├─sda2   8:2    0  97.3G  0 part /
└─sda3   8:3    0 135.5G  0 part /media/pi/mypartition

Code: Select all

~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        96G  3.6G   89G   4% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   13M  452M   3% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/sda1        43M   22M   21M  52% /boot
tmpfs            93M     0   93M   0% /run/user/1000
/dev/sda3       136G   69M  136G   1% /media/pi/mypartition
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

GAP
Posts: 105
Joined: Thu Apr 12, 2018 9:18 am
Location: New South Wales Australia

Re: Move Pi home from SD card to a HDD

Thu Sep 20, 2018 10:18 am

Been thinking about this and I now have a huge headache. ;)

If/when I manage to shrink the partition and effectively create a desktop computer with a HDD similar to what I would have ended up with if I had just bought a Win machine; is it possible to have the left over partitioned to act as if it is an external HDD?

Ideal scenario is to have a the HDD partitioned as home and an NTFS partition that will appear as a separate HDD that I can see from the XP machine is that clear as mud for folks?

Talk about a learning experience (the object of Pi).

I will persevere with this plus as I now have another HDD I will also attempt to get the Pi to boot from it and use one of the 2 1TB HDDs as storage.

Looks like I now have 2 projects running in parallel trying to achieve a similar outcome fun time ahead I think.

Ernst
Posts: 629
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Move Pi home from SD card to a HDD

Thu Sep 20, 2018 10:59 am

I also have a headache trying to understand the problems in this thread and for that reason I have not yet posted.

There is a simple way to reach at least one of your objectives: to have an ntfs partition that can be used under Windows XP as a separate external drive and can be used to boot Raspbian on a Pi with access to the ntfs partition.
Until now I have seen that you have been trying to reduce the root partition, but it might be simpler to increase the size of a partition instead (if needed).

First step is to install the Win32DiskImager on your PC: https://sourceforge.net/projects/win32diskimager/, for Windows XP you may need to download version 0.9 from the files archive.
Then download the unzip utility from http://infozip.sourceforge.net/ and the latest Raspbian release from https://www.raspberrypi.org/downloads/raspbian/, use unzip to extract the image file to your hard disk.
Now use Win32DiskImager to write the Raspbian image to adequate size (32/64G) micro SD card, use this card to boot the Pi, to customize the installation and to get the latest updates with apt-get.
Once completed use Win32DiskImager on the PC to create an image of the SD card in a file on your hard disk, be aware that you will need the same amount space as the size of the micro SD card. Then use Win32DiskImager to write the image to your hard disk, use the Windows Disk Manager to create the NTFS partition, and next boot from this hard disk.
Once booted you have to unmount the ntfs partition and to update the fstab to mount the partition where you need it.

The above is the space consuming method, the alternative is to use Win32DiskImager to write the Raspbian image directly to the hard disk. But then you should edit the file cmdline.txt so that the partition is not extended on the first boot by removing "init=/usr/lib/raspi-config/init_resize.sh". Next you could boot from an micro SD card to increase the root partition on the HDD, and then create an ntfs partition on your PC.
My first computer was an ICT1500, my first "personal" computer was the Science of Cambridge Mk14, followed by a TRS-80 Model I later

LTolledo
Posts: 533
Joined: Sat Mar 17, 2018 7:29 am

Re: Move Pi home from SD card to a HDD

Thu Sep 20, 2018 11:21 am

GAP wrote:
Thu Sep 20, 2018 10:18 am
If/when I manage to shrink the partition and effectively create a desktop computer with a HDD similar to what I would have ended up with if I had just bought a Win machine; is it possible to have the left over partitioned to act as if it is an external HDD?
So you were able to split/shrink the USB HDD's /root partition in gparted?

the remaining unallocated space in the USB HDD after the split/shrink can be formatted to NTFS(or any format you like), and then shared to the network via samba, so that it can be seen by the winXP unit.

the newly formatted NTFS partition will always be automatically mounted by raspbian, there is no need to edit /etc/fstab (see my post above). You may use it as if its an "externally mounted USB HDD"

if there may be a need for you to plug the (split) USB HDD to winXP, you may be able to see only 2 partitions (volumes), namely /boot and [name of NTFS volume] partitions.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

ejolson
Posts: 1835
Joined: Tue Mar 18, 2014 11:47 am

Re: Move Pi home from SD card to a HDD

Thu Sep 20, 2018 6:19 pm

Ernst wrote:
Thu Sep 20, 2018 10:59 am
But then you should edit the file cmdline.txt so that the partition is not extended on the first boot by removing "init=/usr/lib/raspi-config/init_resize.sh".
Modifying cmdline.txt before the first boot to prevent Raspbian from taking over the entire disk is what I suggested earlier.

I wonder whether it would be possible for the the NTFS partition to be first and put the Raspbian /boot and /root filesystems at the end of the disk.

Return to “General discussion”

Who is online

Users browsing this forum: tpyo kingg and 42 guests