dd command problems trying to install Raspup 8.2.1

Moderator: Forum moderators

Post Reply
User avatar
bigpup
Moderator
Posts: 6504
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 784 times
Been thanked: 1344 times

dd command problems trying to install Raspup 8.2.1

Post 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?

Last edited by bigpup on Sat Apr 03, 2021 4:00 am, edited 1 time in total.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
rcrsn51
Posts: 1284
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 301 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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.

User avatar
bigpup
Moderator
Posts: 6504
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 784 times
Been thanked: 1344 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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?

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

tony
Posts: 15
Joined: Wed Feb 03, 2021 2:45 pm
Location: Montreal
Has thanked: 1 time

Re: dd command problems trying to install Raspup 8.2.1

Post 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.

User avatar
Flash
Moderator
Posts: 922
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 47 times
Been thanked: 112 times

Re: dd command problems trying to install Raspup 8.2.1

Post by Flash »

Would Barry's Easydd do what you want?

Chaos coordinator :?
User avatar
bigpup
Moderator
Posts: 6504
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 784 times
Been thanked: 1344 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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?

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6504
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 784 times
Been thanked: 1344 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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! :? :)

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

tony
Posts: 15
Joined: Wed Feb 03, 2021 2:45 pm
Location: Montreal
Has thanked: 1 time

Re: dd command problems trying to install Raspup 8.2.1

Post 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.

User avatar
bigpup
Moderator
Posts: 6504
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 784 times
Been thanked: 1344 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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 1212 times

.
.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6504
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 784 times
Been thanked: 1344 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

tony
Posts: 15
Joined: Wed Feb 03, 2021 2:45 pm
Location: Montreal
Has thanked: 1 time

Re: dd command problems trying to install Raspup 8.2.1

Post 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.

User avatar
puppy_apprentice
Posts: 662
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 108 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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 930 times
User avatar
bigpup
Moderator
Posts: 6504
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 784 times
Been thanked: 1344 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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 904 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.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
puppy_apprentice
Posts: 662
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 108 times

Re: dd command problems trying to install Raspup 8.2.1

Post by puppy_apprentice »

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

User avatar
8Geee
Posts: 376
Joined: Wed Jul 29, 2020 10:52 pm
Location: N.E. USA
Has thanked: 17 times
Been thanked: 54 times

Re: dd command problems trying to install Raspup 8.2.1

Post by 8Geee »

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

8Geee

Money talks... no, it shouts, so that it doesn't have to hear common sense.

User avatar
puppy_apprentice
Posts: 662
Joined: Tue Oct 06, 2020 8:43 pm
Location: land of bigos and schabowy ;)
Has thanked: 4 times
Been thanked: 108 times

Re: dd command problems trying to install Raspup 8.2.1

Post 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.

Post Reply

Return to “Raspbian Buster”