Install Porteus on SD card
Install Porteus on SD card
Dear Porteus Experts,
Is there any quick installation guide how to do it? I followed the official guides herehttp://www.porteus.org/component/conten ... guide.html, both for Windows and Linux, but no success. Bios is supporting boot from SD slot. But the system does not even come to Porteus boot screen. The error message says: "...no operating system found, press.. to reboot".
I also tried the following posts
Porteus on a Memory Card
but this is somehow a work-around, you still need the usb when booting.
Also other posts such as
Installing porteus to an SDHC card
or
[SOLVED] Problems with booting from SD card
do not help.
Thanks in advance for your advise.
Cheers
Is there any quick installation guide how to do it? I followed the official guides herehttp://www.porteus.org/component/conten ... guide.html, both for Windows and Linux, but no success. Bios is supporting boot from SD slot. But the system does not even come to Porteus boot screen. The error message says: "...no operating system found, press.. to reboot".
I also tried the following posts
Porteus on a Memory Card
but this is somehow a work-around, you still need the usb when booting.
Also other posts such as
Installing porteus to an SDHC card
or
[SOLVED] Problems with booting from SD card
do not help.
Thanks in advance for your advise.
Cheers
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Install Porteus on SD card
Have you read the USB_INSTALLATION.txt file in the ISO? It's more current than some of the links you've read.
Is your machine a UEFI system? If so you need to disable the Secure Boot boot option.
Is your machine a UEFI system? If so you need to disable the Secure Boot boot option.
Ed
Re: Install Porteus on SD card
Yes, I have read and followed the instruction in USB_INSTALLATION.txt, and also in /boot/docs/install.txt. This works fine for usb flash drive, and I already play around with Porteus booted from usb drive for a while. But it does not work for SD card. What is the difference and what do I have to adjust?
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Install Porteus on SD card
What is the format of the bootable USB drive? What is the format of the SD drive?
What folders are on the bootable USB drive? What folders are on the non-bootable SD drive?
Is your machine EFI capable? Have you disabled Secure Boot?
What folders are on the bootable USB drive? What folders are on the non-bootable SD drive?
Is your machine EFI capable? Have you disabled Secure Boot?
Ed
Re: Install Porteus on SD card
Fat32 and ext4, I am using two flash drives.
tried both fat32 and ext2 and also ext4, both not working.What is the format of the SD drive?
boot and porteusWhat folders are on the bootable USB drive? What folders are on the non-bootable SD drive?
no, and no.Is your machine EFI capable? Have you disabled Secure Boot?
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Install Porteus on SD card
Is the SD drive's boot partition flagged as boot,lba? Use GParted to check.
Ed
Re: Install Porteus on SD card
yes, checked flagged as boot. I think there is nothing wrong with the SD, tried other distros and it worked
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Install Porteus on SD card
And both boot and porteus folders on the boot drive? If so I am out of ideas.
Ed
Re: Install Porteus on SD card
Hi, I tried to do it from scratch as instructed here for Linux, but when executing the Porteus-installer-for-Linux.com, it ends up with error code 2, here the debug.txt:
Code: Select all
device: /dev/mmcblk0
partition: /dev/mmcblk0p1
partition number: p1
partition mount point: /mnt/mmcblk0p1
installation path: /mnt/mmcblk0p1/boot
subfolder:
filesystem: ext2
bootloader: lilo
error code: 2
system: porteus 4.16.8-porteus x86_64
mount details: /dev/mmcblk0p1 /mnt/mmcblk0p1 ext2 rw,noatime,nodiratime,block_validity,barrier,user_xattr,acl 0 0
full partition scheme:
Disk /dev/loop0: 52.6 MiB, 55111680 bytes, 107640 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 106.2 MiB, 111321088 bytes, 217424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 90.8 MiB, 95227904 bytes, 185992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop3: 48.8 MiB, 51142656 bytes, 99888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop4: 16.8 MiB, 17547264 bytes, 34272 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop5: 52.3 MiB, 54816768 bytes, 107064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop6: 306.2 MiB, 321058816 bytes, 627068 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 1 128582 128582 62.8M 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 14.5 GiB, 15597568000 bytes, 30464000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x2a9988c3
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 30463999 30461952 14.5G 83 Linux
Disk /dev/mmcblk0: 3.7 GiB, 3965190144 bytes, 7744512 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0002d93f
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 7743487 7741440 3.7G 83 Linux
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Install Porteus on SD card
Try formatting the drive as FAT32 then following these steps.user0815 wrote: ↑23 Feb 2019, 10:56Code: Select all
device: /dev/mmcblk0 partition: /dev/mmcblk0p1 filesystem: ext2 bootloader: lilo
The problem may lay in the device's name, mmcblk0. The Porteus installer may be looking for a 4 character id, sdxy.brokenman wrote: ↑14 May 2015, 01:18From a standard porteus install (and assuming your USB partition is at sdb1)That's all.Code: Select all
mloop /path/to/my/porteus.iso cp -a /mnt/loop/* /mnt/sdb1 sync cd /mnt/sdb1/boot ./Porteus-installer-for-Linux.com
-update-
The picture card from my camera shows up as /dev/sdb1 on my notebook, not mmcblk0.
Maybe one of these links will help:
https://bbs.archlinux.org/viewtopic.php?id=184873
https://ubuntuforums.org/showthread.php?t=1146962
Ed
Re: Install Porteus on SD card
I am desperate, trying FAT32 takes me indeed to the boot menu from Porteus (where you can choose to boot graphical, copy2ram, fresh etc.), but after choosing whatever menu, it tells me system cannot find porteus-v4.0-x86_64.cfg.
-edit-
The problem may be already described here Install fails on mmcblk device Porteus-KDE4-v3.1-x86_64.iso. If yes, I hope the installer is fixed meanwhile and can be found somewhere.
I have no clue how to get rid of this mmcblk0, using gparted does not help, you can only change the label. On my other usb flash drive, I am using the from= cheat code with the UUID which has much more than 4 characters but it works flawlessly.The problem may lay in the device's name, mmcblk0. The Porteus installer may be looking for a 4 character id, sdxy.
Are you using an adapter to connect it to your notebook via usb, or is it a built-in card reader as mine?The picture card from my camera shows up as /dev/sdb1 on my notebook, not mmcblk0
-edit-
The problem may be already described here Install fails on mmcblk device Porteus-KDE4-v3.1-x86_64.iso. If yes, I hope the installer is fixed meanwhile and can be found somewhere.
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Install Porteus on SD card
Ok, we're making progress. You are able to boot. The .cfg problem is a separate issue.
My card reader is built into the notebook, same as yours.
The link you refer to is 4 yrs old and refers to the Kiosk system which is a different OS.
My card reader is built into the notebook, same as yours.
The link you refer to is 4 yrs old and refers to the Kiosk system which is a different OS.
Ed
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: Install Porteus on SD card
take another look : Porteus-KDE4-v3.1-x86_64.iso
and
"partition number: p1"
seems like the same problem..
perhaps this never actually got fixed (though maybe it's only a problem with some sd cards or reader?)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8369
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Install Porteus on SD card
Good point ncmp. I was going by fanthom being the responder. But the thread is still 4 yrs old and pre 3.2.2 and 4.0. We need to concentrate on the missing .cfg problem which I believe has been fixed since I haven't experienced it. Have you?
user0815 post an ls of your /porteus directory on the SD drive. And are you using a multiboot loader like grub?
user0815 post an ls of your /porteus directory on the SD drive. And are you using a multiboot loader like grub?
Ed
Re: Install Porteus on SD card
here you gouser0815 post an ls of your /porteus directory on the SD drive
Code: Select all
guest@porteus:~$ cd /mnt/mmcblk0p1
guest@porteus:/mnt/mmcblk0p1$ ls -rtla
total 28
drwxrwxrwx 6 root root 4096 Jan 1 1970 ./
drwxrwxrwx 6 root root 4096 Apr 29 2018 porteus/
drwxrwxrwx 3 root root 4096 Apr 29 2018 EFI/
-rwxrwxrwx 1 root root 1512 Apr 29 2018 USB_INSTALLATION.txt*
drwxrwxrwx 4 root root 4096 Feb 24 09:07 boot/
drwxrwxrwx 2 root root 4096 Feb 24 09:10 System\ Volume\ Information/
drwxr-xr-x 5 root root 4096 Feb 24 09:22 ../
guest@porteus:/mnt/mmcblk0p1$ cd port*
guest@porteus:/mnt/mmcblk0p1/porteus$ ls -rtla
total 32
drwxrwxrwx 6 root root 4096 Jan 1 1970 ../
drwxrwxrwx 2 root root 4096 Apr 29 2018 rootcopy/
-rwxrwxrwx 1 root root 681 Apr 29 2018 porteus-v4.0-x86_64.cfg*
drwxrwxrwx 2 root root 4096 Apr 29 2018 optional/
drwxrwxrwx 2 root root 4096 Apr 29 2018 modules/
-rwxrwxrwx 1 root root 1015 Apr 29 2018 make_iso.sh*
drwxrwxrwx 6 root root 4096 Apr 29 2018 ./
drwxrwxrwx 2 root root 4096 Apr 29 2018 base/
guest@porteus:/mnt/mmcblk0p1/porteus$
No, there is nothing else on the sd card except what is from Porteus ISO. And I am using Dell Latitude Bios and legacy boot, not UEFI.And are you using a multiboot loader like grub?
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8