Page 1 of 1

dd command problems trying to install Raspup 8.2.1

Posted: Fri Feb 26, 2021 1:58 pm
by bigpup

Using the Linux install information on the release notes for Raspup.
http://raspup.eezy.xyz/notes.php

The install information, when using the raspup-8.2.1-abcd12345-2gb-f2fs.img.zip or raspup-8.2.1-abcd12345-2gb-f2fs-swap.img.zip

This dd command did not work as written.

Code: Select all

dd bs=1m if=path/to/raspup-(version).img of=/dev/MYDRIVE
sync

Had to change the bs=1m to bs=1M (upper case M) to get the command to work.

What exactly should you see on the SD card after using any of the dd commands?


Re: dd command problems trying to install Raspup 8.2.1

Posted: Fri Feb 26, 2021 2:32 pm
by rcrsn51
bigpup wrote: Fri Feb 26, 2021 1:58 pm

Also, there is no info about what partition or format setup the SD card needs to have, if using these dd commands.

It does not matter. The dd operation erases any filesystem structure on the card.


Re: dd command problems trying to install Raspup 8.2.1

Posted: Fri Feb 26, 2021 2:39 pm
by bigpup

OK.
I was kind of thinking that was the answer :oops:
Thanks for that info!

So, What exactly should you see on the SD card after using any of the dd commands?


Re: dd command problems trying to install Raspup 8.2.1

Posted: Sun Feb 28, 2021 12:50 pm
by tony

I pre-format my sdcard into two equal partitions about 14.8 G each.

format the first partition to fat 32.

copy the zip file into first partition and unzip it there.

delete original zip file.

put card into raspberry pi and turn on power, it should boot. I had some difficulty

getting it to fit my tv screen but now it's fixed OK.

Regards Tony.


Re: dd command problems trying to install Raspup 8.2.1

Posted: Sun Feb 28, 2021 1:32 pm
by Flash

Would Barry's Easydd do what you want?


Re: dd command problems trying to install Raspup 8.2.1

Posted: Sun Feb 28, 2021 4:36 pm
by bigpup
tony wrote: Sun Feb 28, 2021 12:50 pm

I pre-format my sdcard into two equal partitions about 14.8 G each.

format the first partition to fat 32.

copy the zip file into first partition and unzip it there.

delete original zip file.

put card into raspberry pi and turn on power, it should boot. I had some difficulty

getting it to fit my tv screen but now it's fixed OK.

Regards Tony.

That works for the Raw zip file.
That is how I did it to get a working SD card install.

What I was asking about is if you do it using the img files?
The release notes say this:

raspup-8.2.1-abcd12345-2gb-f2fs.img.zip has the base files in a FAT32 partition and an f2fs partition for storage.

If this is saying the SD card will end up with two partitions:
fat32 one
f2fs one
I am doing something wrong or the dd command is not working for me.

When trying to do the dd command for using the raspup-8.2.1-abcd12345-2gb-f2fs.img.zip
All I get is a SD card that Gparted says nothing is on it and can not read it.

I guess I am really asking if anyone has gotten the dd command, for the image zip, to work, and what they got, for result?


Re: dd command problems trying to install Raspup 8.2.1

Posted: Sun Feb 28, 2021 4:45 pm
by bigpup
Flash wrote: Sun Feb 28, 2021 1:32 pm

Would Barry's Easydd do what you want?

Thanks for the idea. :thumbup2:

But the Raspup release notes, give you a install procedure, using dd commands.
So, after finding one error in the dd command.
I was wanting to make sure there were not others.

I really do not like using dd commands.
To easy to get it wrong and really mess up the wrong drive.

Being new to using Raspberry PI and to using Raspup.
I am learning! :? :)


Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon Mar 01, 2021 1:47 am
by tony

Hi,

I use my Pi4 as a mainframe and have a usb sd card reader and writer as an essential accessory. That is why I use raw files.

Using dd creates a very small first partition and I found that my save file could only be created there. (mm0p1).

I have installed Stellarium and Wbar and got them both to work. But destroyed an sd card in the process.

I recognise you all. It's almost as good as being back on the old Murga Forum.

regards Tony.


Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon Mar 01, 2021 1:55 am
by bigpup

With the SD card setup this way.
On first shutdown of Raspup 8.2.1.
The save process let me put the save on the 2nd partition (format f2fs).
When offered location for save. I had to choose this 2nd partition.
It made a save folder on this partition.

bigpup wrote: Fri Feb 26, 2021 2:39 pm

OK.
So, What exactly should you see on the SD card after using any of the dd commands?

I played with this and stopped trying to check stuff, at each point in the process. :oops:

Here is what I found.

If you use one of the image packages of Raspup 8.2.1.
Follow Linux install info in the release notes.
Use the image package, dd commands to install to a SD card.

If you look at the SD card you are not going to see any changes to it.

Stick the SD card into a Raspberry Pi and boot it.
The first time Raspup boots.
During the boot process, it totally repartitions and formats the SD card.
It ends up with the SD card, having 2 partitions.
1st one, a small (around 500MB), formatted fat 32, and Raspup installed on it.
2nd partition, the rest of the SD card, formatted f2fs
.

Screenshot(1).png
Screenshot(1).png (34.4 KiB) Viewed 1485 times

.
.


Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon Mar 01, 2021 2:17 am
by bigpup

But destroyed an sd card in the process.

Try using Gparted on it.
Make new partition table. (msdos)
Partition and format.
May now work.


Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon Mar 01, 2021 12:10 pm
by tony

Hi bigpup,

Thanks for advice. I spent a lot of time on the card defragging etc, but it kept going belly up. In the end I used the scissors on it.

Regards Tony.


Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon Mar 01, 2021 12:55 pm
by puppy_apprentice
bigpup wrote: Mon Mar 01, 2021 1:55 am

1st one, a small (around 500MB), formatted fat 32, and Raspup installed on it.
2nd partition, the rest of the SD card, formatted f2fs

I'm curious if those partitions are aligned for SD and SSD devices?

Could you check 1st partition properties in GP.

partition_13.45.31.jpg
partition_13.45.31.jpg (42.89 KiB) Viewed 1216 times

Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon Mar 01, 2021 7:15 pm
by bigpup

Seems to be.
This is what my SD card has for 1st partition.
.

Screenshot(3).png
Screenshot(3).png (26.27 KiB) Viewed 1190 times

.
.
I also noticed, this 1st partition is not mounted, when it is used to boot the PI 400.
Maybe because I have the Raspupsave folder on the 2nd partition.
So, that partition is /mnt/home to Raspup.
No reason to keep the first partition mounted, after you boot from it.
Everything on it is already loaded into RAM.
Only the Raspup OS is on the 1st partition.


Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon Mar 01, 2021 9:29 pm
by puppy_apprentice

I wonder why is 1MB (unallocated space) gap between partitions?


Re: dd command problems trying to install Raspup 8.2.1

Posted: Mon May 10, 2021 11:59 pm
by 8Geee

Alignment, and buffer overflow protection. I use 2Mb on my stuff (not Raspi). In theory, a W32 partition 'should' use 4Mb.

8Geee


Re: dd command problems trying to install Raspup 8.2.1

Posted: Sun May 16, 2021 8:29 am
by puppy_apprentice

Ok. I think that this gap is because we have neighbour partitions with different filesystems (not the same hd space allocation). If Second partition wasn't f2fs but fat32 there will be no gap.