Installation failed with error code '3' on a SD card
Posted: 12 Jan 2016, 15:45
Hi all
Have tested and adopted Porteus on a live USB stick (faster the key better the exp) and now wish to do a frugal install on a fast SD Card.
* Porteus 3.1 XFCE i486 running.
* Acer netbook with Atom 1.33 GHz (i686 only), 1 GB RAM
* Sandisk Extreme 16 GiB (with wear leveling "like" for SSDs ) ext4 formated like this
I first launched the Porteus Installer GUI, and (note: after realizing the destination partition needed to be mounted to appear in the GUI helper he he) selected both "Install bootloader" fields.
All went well and fast, all modules were copied to SDCARD/porteus/porteus from my updated live system, including optionals ones Reboooted straight away, i.e. *default* without even editing /boot/porteus.cfg (was late in the night). System booted to... PXE.
I then rebooted from my USB key, and
1) opened /boot/porteus.cfg and edited it as it had copied my customized syslinux file from the USB stick, which is a multiboot with special file structure.
2) Searched for 'Porteus-installer-for-Linux.com', copied it from USBSTICK/porteus/xfce-x86_64 (maybe the issue here? though I'd swear it to be arch-agnostic) to /$SDCARD_MOUNTPATH/boot/ with 'SDCARD_MOUNTPATH' = /mnt/sdc1 and run it:
# ./Porteus-installer-for-Linux.com
Unmounted and remounted the SDCard with 'SDCARD_MOUNTPATH' = /tmp/mount as fanthom advised here: http://forum.porteus.org/viewtopic.php?f=81&t=3556
Relaunched the installer with the exact same result, so may not be the same issue.
debug.txt
I shall look at my notes on installing extlinux manually, but atm I have a ssh can't connect to any server issue that forbids me to access my other machines.
Hope you're willing to share your knowledge on this, and that it can helps make next Porteus version a bit more error proof for frugal install!
Have tested and adopted Porteus on a live USB stick (faster the key better the exp) and now wish to do a frugal install on a fast SD Card.
* Porteus 3.1 XFCE i486 running.
* Acer netbook with Atom 1.33 GHz (i686 only), 1 GB RAM
* Sandisk Extreme 16 GiB (with wear leveling "like" for SSDs ) ext4 formated like this
Code: Select all
Number Start End Size Type File system Flags
1 4194kB 7365MB 7361MB primary ext4 boot
2 7365MB 15.9GB 8566MB primary ext4
All went well and fast, all modules were copied to SDCARD/porteus/porteus from my updated live system, including optionals ones Reboooted straight away, i.e. *default* without even editing /boot/porteus.cfg (was late in the night). System booted to... PXE.
I then rebooted from my USB key, and
1) opened /boot/porteus.cfg and edited it as it had copied my customized syslinux file from the USB stick, which is a multiboot with special file structure.
2) Searched for 'Porteus-installer-for-Linux.com', copied it from USBSTICK/porteus/xfce-x86_64 (maybe the issue here? though I'd swear it to be arch-agnostic) to /$SDCARD_MOUNTPATH/boot/ with 'SDCARD_MOUNTPATH' = /mnt/sdc1 and run it:
# ./Porteus-installer-for-Linux.com
Code: Select all
Verifying archive integrity... All good.
Uncompressing Porteus Installer......
_.====.._
,:._ ~-_
'\ ~-_
\ \.
,/ ~-_
-..__..-'' PORTEUS ~~--..__
==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--
Installing Porteus to /dev/sdc1
WARNING: Make sure this is the right partition before proceeding.
Type 'ok' to continue or press Ctrl+c to exit.
ok
Flushing filesystem buffers...
Using extlinux bootloader.
Installation failed with error code '3'.
Please ask for help on the Porteus forum: www.porteus.org/forum
and provide the information from /tmp/mount/boot/debug.txt
Exiting now...
Relaunched the installer with the exact same result, so may not be the same issue.
debug.txt
Code: Select all
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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 identifier: 0xa0a77d45
Device Boot Start End Blocks Id System
/dev/sda1 * 63 156312449 78156193+ 7 HPFS/NTFS/exFAT
/dev/sda2 156312450 156714074 200812+ 83 Linux
/dev/sda3 156714075 312576704 77931315 5 Extended
/dev/sda5 156714138 176249114 9767488+ 83 Linux
/dev/sda6 176249178 180249299 2000061 82 Linux swap
/dev/sda7 180249363 312576704 66163671 83 Linux
Disk /dev/sdb: 62.7 GB, 62742792192 bytes
255 heads, 63 sectors/track, 7628 cylinders, total 122544516 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 identifier: 0x4a62bd58
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 122544127 61271040 c W95 FAT32 (LBA)
Disk /dev/sdc: 15.9 GB, 15931539456 bytes
64 heads, 32 sectors/track, 15193 cylinders, total 31116288 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 identifier: 0x0005d8f8
Device Boot Start End Blocks Id System
/dev/sdc1 * 8192 14385151 7188480 83 Linux
/dev/sdc2 14385152 31115263 8365056 83 Linux
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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 identifier: 0xa0a77d45
Device Boot Start End Blocks Id System
/dev/sda1 * 63 156312449 78156193+ 7 HPFS/NTFS/exFAT
/dev/sda2 156312450 156714074 200812+ 83 Linux
/dev/sda3 156714075 312576704 77931315 5 Extended
/dev/sda5 156714138 176249114 9767488+ 83 Linux
/dev/sda6 176249178 180249299 2000061 82 Linux swap
/dev/sda7 180249363 312576704 66163671 83 Linux
Disk /dev/sdb: 62.7 GB, 62742792192 bytes
255 heads, 63 sectors/track, 7628 cylinders, total 122544516 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 identifier: 0x4a62bd58
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 122544127 61271040 c W95 FAT32 (LBA)
Disk /dev/sdc: 15.9 GB, 15931539456 bytes
64 heads, 32 sectors/track, 15193 cylinders, total 31116288 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 identifier: 0x0005d8f8
Device Boot Start End Blocks Id System
/dev/sdc1 * 8192 14385151 7188480 83 Linux
/dev/sdc2 14385152 31115263 8365056 83 Linux
Hope you're willing to share your knowledge on this, and that it can helps make next Porteus version a bit more error proof for frugal install!