Install Porteus on SD card
Re: Install Porteus on SD card
hi is strange that p1 partition seem a loop mounted device i have seen something like that when we need to change the size of an iso.img with gparted,if you mount the device into a mnt or tmp directory cd into the boot directory and run the script linux or the other you have the boot loader ready to use....maybe.mmc isn't a sd card:
Disk /dev/sdc: 57,7 GiB, 61907927040 bytes, 120913920 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: 0x05a8425f
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sdc1 * 2048 120913919 120911872 57,7G 83 Linux
Disk /dev/sda: 59,7 GiB, 64087916544 bytes, 125171712 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: 0xe093eece
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sda1 * 2048 125171711 125169664 59,7G 83 Linux
the first is a tdk usb pen the second one a lexar sd
Disk /dev/sdc: 57,7 GiB, 61907927040 bytes, 120913920 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: 0x05a8425f
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sdc1 * 2048 120913919 120911872 57,7G 83 Linux
Disk /dev/sda: 59,7 GiB, 64087916544 bytes, 125171712 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: 0xe093eece
Dispositivo Avvio Start Fine Settori Size Id Tipo
/dev/sda1 * 2048 125171711 125169664 59,7G 83 Linux
the first is a tdk usb pen the second one a lexar sd
- 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, the missing .cfg file is definitely on the mcc drive.
A lot of us use multiboot loaders that are installed on the machine doing the loading. It makes booting other devices more convenient than changing the BIOS each time. It also allows for creating debug code to help with booting problems. And the problem I think you're having is root isn't being assigned to the mcc drive when it's being booted.
-edit-
A lot of us use multiboot loaders that are installed on the machine doing the loading. It makes booting other devices more convenient than changing the BIOS each time. It also allows for creating debug code to help with booting problems. And the problem I think you're having is root isn't being assigned to the mcc drive when it's being booted.
-edit-
Legacy boot! So the machine does support UEFI! Try just disabling the Secure Boot option and not using the Legacy option.
Where are you seeing that beny? I can't find it.
Ed
Install Porteus on SD card
secure boot is disabled. EFI does not work, too. I think this kind of hopeless case. Thanks anyway for all the advises.
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
Install Porteus on SD card
Giving up!! Well, your call. However if you boot Porteus on your UEFI machine, with Secure Boot disabled, and format the SD to FAT32 and reinstall Porteus to the SD it just might work.
But it's okay if you want to call it quits.
But it's okay if you want to call it quits.
Ed
Install Porteus on SD card
I dont want to give up, but I dont know what to do. You gave me lots of advise and we already tried every possible combinations.
1. Classic boot, FAT32, strictly following this installation guide. System booted to Porteus menu, but after that the message I get is "Porteus data not found...", here is the screenshot:
https://ibb.co/ctftk2p
2. EFI boot, FAT32: boot not possible, it says "Failed to load COM32 file vesamenu.c32, screenshot here:
https://ibb.co/9vjsVs4
3. Classic boot, format ext2 using Porteus-installer-for-Linux.com. Executing installer.com failed with error code 2, screenshot here:
https://ibb.co/58n8qm8
For me, the most promising option to continue is 1. where boot is possible, but whatever reason, the porteus folder cannot be found.
All above options work flawlessly with usb flash drives.
What do you suggest me to do?
1. Classic boot, FAT32, strictly following this installation guide. System booted to Porteus menu, but after that the message I get is "Porteus data not found...", here is the screenshot:
https://ibb.co/ctftk2p
2. EFI boot, FAT32: boot not possible, it says "Failed to load COM32 file vesamenu.c32, screenshot here:
https://ibb.co/9vjsVs4
3. Classic boot, format ext2 using Porteus-installer-for-Linux.com. Executing installer.com failed with error code 2, screenshot here:
https://ibb.co/58n8qm8
For me, the most promising option to continue is 1. where boot is possible, but whatever reason, the porteus folder cannot be found.
All above options work flawlessly with usb flash drives.
What do you suggest me to do?
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
Install Porteus on SD card
The installation guide you refer to in your #1 is outdated. It was written before Porteus's UEFI support; REFind, UEFI Boot Confusion [Solved] and the current system. I believe if you do as I suggested the Porteus install will put 3 folders on the SD drive; /porteus, /boot and /EFI and the latter will resolve the missing Porteus cfg problem. (At least that is my hope. I could be wrong. )
Also post as root the results of a ls -gd --color=never /mnt/sdb?/* and a parted -l of the SD device.
BTW I envy your picture taking ability.
Ed
-
- Shogun
- Posts: 434
- Joined: 02 May 2017, 09:51
- Distribution: v3.2.2-32 and Porteus-Artix-64
- Location: Chennai,India
Install Porteus on SD card
user0815, Get "Etcher" iso burning software for Windows .
Insert your card and burn ISO image.
You could see your smile in the mirror.
Insert your card and burn ISO image.
You could see your smile in the mirror.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit
Install Porteus on SD card
hi Ed, here you are
Code: Select all
root@porteus:/mnt/mmcblk0p1# ls -gd --color=never /mnt/mmcblk0p1
drwxr-xr-x 3 root 4096 Mar 5 08:28 /mnt/mmcblk0p1/
root@porteus:/mnt/mmcblk0p1#
Code: Select all
root@porteus:/mnt/mmcblk0p1# parted -l /mnt/mmcblk0p1
Model: SanDisk Ultra (scsi)
Disk /dev/sda: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 15.6GB 15.6GB primary ext4 boot
Model: SD SU04G (sd/mmc)
Disk /dev/mmcblk0: 3965MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 3965MB 3964MB primary ext2
root@porteus:/mnt/mmcblk0p1#
Hi Raja, Etcher crashed when trying to select iso, on both porteus and puppy bionicdog. Will try windows later on.
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
Install Porteus on SD card
I meant for the displays to be done after the format and Porteus install. Sorry I wasn't clear.
Ed
Install Porteus on SD card
Sorry, your last message is not clear to me what I should do, can you pls describe each single steps? Thanks.
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
Install Porteus on SD card
- Disable Secure Boot on your EFI machine.
- Boot Porteus on the EFI machine with Secure Boot disabled.
- Format the SD card as FAT32 on the EFI machine.
- Execute the Porteus install on the EFI machine and direct it to install to the SD drive.
- After the install of Porteus to the SD drive run these two commands as root:
ls -gd --color=never /mnt/mmcblk0p1
parted -l /mnt/mmcblk0p1 - Post the output of the two commands.
- Boot the SD drive on the EFI machine.
- Report the results.
Beginning to wonder about the machine's shortcomings. BTW If you have Windows and multi-boot frequently you should consider installing Grub2Win on Windows. It's what I use.
Ed
Install Porteus on SD card
ok, understood.
BTW, I did this several times before, but now again as you advised to make sure. I think the problem is a missing driver at certain stage for that particular SD card reader from Dell latitude. Porteus can "see" the SD driver once successfully booted, but not "inside" the porteus installer and during boot.
. done.
: done.
: done.
: Trying, but stuck here. The porteus installer cannot see the SD drive. There is a button saying something like "mount other drive.." and in the pop-up window, you can see the SD mounted as sda, but after mounting and go back to porteus installer windows, SD drive is not visible. The only visible drive inside porteus installer is the usb flash drive from where I EFI-booted porteus.
BTW, I did this several times before, but now again as you advised to make sure. I think the problem is a missing driver at certain stage for that particular SD card reader from Dell latitude. Porteus can "see" the SD driver once successfully booted, but not "inside" the porteus installer and during boot.
Have you tried the Etcher AppImage for linux 64 yourself?
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
"in the pop-up window, you can see the SD mounted as sda, but after mounting"
The SD is mounted as sda! What's the hard drive mounted as?? And if you can see it mounted as sda why are you remounting it?
No I have never used Etcher AppImage. I have used Easy2Boot though and recommend it. When I have installed Porteus, it has been to USB drives and the Porteus install apps work for me. I do however run most of my Porteus from my hard drive as ISOs using Grub2Win.
-update-
I have booted my Dell Inspiron off my Porteus USB drive and have a SD card inserted into the machine. This is what I see:
sda is my hard drive, sdb is my USB drive and sdc is my SD card.
The SD is mounted as sda! What's the hard drive mounted as?? And if you can see it mounted as sda why are you remounting it?
No I have never used Etcher AppImage. I have used Easy2Boot though and recommend it. When I have installed Porteus, it has been to USB drives and the Porteus install apps work for me. I do however run most of my Porteus from my hard drive as ISOs using Grub2Win.
-update-
I have booted my Dell Inspiron off my Porteus USB drive and have a SD card inserted into the machine. This is what I see:
Code: Select all
guest@porteus:~$ ls -dgl --color=none /mnt/sd*
drwxrwxrwx 3 root 4096 Dec 31 1969 /mnt/sda1/
drwxrwxrwx 1 root 8192 Feb 15 03:06 /mnt/sda3/
drwxrwxrwx 1 root 4096 Dec 7 02:09 /mnt/sda4/
drwxrwxrwx 1 root 4096 Jan 12 2018 /mnt/sda5/
drwxrwxrwx 1 root 4096 Feb 15 03:06 /mnt/sda6/
drwxrwxrwx 1 root 4096 Feb 15 03:06 /mnt/sda7/
drwxrwxrwx 1 root 4096 Feb 15 03:06 /mnt/sda8/
drwxrwxrwx 13 root 16384 Dec 31 1969 /mnt/sdb1/
drwxrwxrwx 5 root 16384 Dec 31 1969 /mnt/sdc1/
guest@porteus:~$
Ed
Re: Install Porteus on SD card
yeah, in the popup window „partition mounter“, sd card is shown as /dev/sda1, the usb drive /dev/sdb1. The hard drive is not mounted as it is full-encrypted. Only gparted can access it.
The strange thing is, porteus installer says, drive successfully mounted, but its list in main window does not show it.
I would assume your built in sd card reader is connected via usb bus whereas mine is via PCIe
The strange thing is, porteus installer says, drive successfully mounted, but its list in main window does not show it.
I would assume your built in sd card reader is connected via usb bus whereas mine is via PCIe
using CINNAMON-v4.0-x86_64 with updated kernel porteus-4.16.8