Installation failed with error code `1`

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Post Reply
Lucas
Black ninja
Black ninja
Posts: 42
Joined: 25 Apr 2015, 01:58
Distribution: Porteus 3.1
Location: São Paulo, Brazil

Installation failed with error code `1`

Post#1 by Lucas » 26 May 2015, 18:54

Hi,

Could someone help me solving this installation problem, please?

I`ve got this message:

Installing Porteus to /dev/sdb1
WARNING: Make sure this is the right partition before proceeding.

Type 'ok' to continue or press Ctrl+c to exit.
ok
Flushing filesystem buffers...

Installation failed with error code '1'.
Please ask for help on the Porteus forum: www.porteus.org/forum
and provide the information from /media/Porteus 3_1/boot/debug.txt

Exiting now...
cat: /media/Porteus 3_1/boot/syslinux/lilo.menu: No such file or directory


and the debug report is:

device: /dev/sdb
partition: /dev/sdb1
partition number: 1
partition mount point: /media/Porteus 3_1
installation path: /media/Porteus 3_1/boot
subfolder:
filesystem: ext4
bootloader: lilo
error code: 1
system: mint 3.2.0-23-generic i686
mount details: /dev/sdb1 /media/Porteus\0403_1 ext4 rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered 0 0
full partition scheme:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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: 0x95a76c40

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 976771071 488282112 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 63.4 GB, 63416827904 bytes
64 heads, 32 sectors/track, 60479 cylinders, total 123860992 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: 0x0008b8c8

Device Boot Start End Blocks Id System
/dev/sdb1 32 123860991 61930480 83 Linux


Thank you all,

Lucas.

User avatar
Slaxmax
Contributor
Contributor
Posts: 403
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: Installation failed with error code `1`

Post#2 by Slaxmax » 26 May 2015, 19:42

1 - Format your partition with gparted or kde partition if you use (kde)
2 - fix permission in your partition to install
ex to install in sda1:

Code: Select all

root@porteus:/# chmod -R 7777 /mnt/sda1
3 - Copy the boot and porteus folder to you partition
4 - Enter in terminal as root in boot folder copied to your partition and execute the script
ex:

Code: Select all

root@porteus:/mnt/sda1/boot# ./Porteus-installer-for-Linux.com 
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
brokenman
Site Admin
Site Admin
Posts: 5439
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Installation failed with error code `1`

Post#3 by brokenman » 26 May 2015, 22:18

Looks like udisks problem. Unmount your device and remount manually then try again.

Code: Select all

umount /dev/sdb1
mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 3061
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Installation failed with error code `1`

Post#4 by Ed_P » 27 May 2015, 02:48

@Lucas, were you running the install as Root or Guest? I think it has to be run as root.
Ed

Post Reply