Installation failed with error code '2'

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
aus9

Re: Installation failed with error code '2'

Post#1 by aus9 » 25 Oct 2015, 04:39

Hi until you get a better reply here is the reason and one possible solution.
The util fdisk doesn't support GPT. Use GNU Parted

bootloader: lilo
what they mean is the partition tool you chose does or did not at the time support a GPT type disk.

parted they claim is one partition tool that supports GPT.

2) I am not sure lilo is a GPT aware bootloader. grub2 has GPT support. There may be others.

Forgive my general ignorance, but what is the name of the Portues flavour you are attempting to install please?

3) In case you are interested, I have an internal 1TB drive with 4 primary partitions using the plain old MBR and not a GPT.
If you want lilo as a bootloader, and you don't mind losing any data, you can create a fresh parttion table MBR type with gparted and stay with Lilo if you wish.

exodous
Ronin
Ronin
Posts: 2
Joined: 25 Oct 2015, 03:31
Distribution: Linux Mint
Location: USA

Re: Installation failed with error code '2'

Post#2 by exodous » 25 Oct 2015, 05:06

I'm using the MATE version, I thought the latest. I'll re download the iso and try again tomorrow.

What I'm trying to do is make a portable Linux to take with me on a bike tour through Latin America so I can boot on any computer at lan houses to edit videos and such. Is this even possible? I'm trying to do two things: 1. Save on weight and 2. Try to limit my losses of getting mugged, if I don't have a expensive computer then I can't have it stolen from me.

Is this the distro for me?

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

Re: Installation failed with error code '2'

Post#3 by Ed_P » 25 Oct 2015, 05:39

exodous, a Porteus USB install can most definitely boot on UEFI & BIOS systems. I have one.

See this brokenman posting for instructions: https://forum.porteus.org/viewtopic.php ... 638#p33604
Ed

User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
Posts: 787
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Installation failed with error code '2'

Post#4 by ncmprhnsbl » 25 Oct 2015, 05:58

what Ed_P said... but i'll expand on that a little...
so .. you are installing to a usb , using Porteus.Installer.for.Linux.com via mint or smthn?
your device has to be mounted in /mnt for the installer to work.
first unmount from /media...
then as root:

Code: Select all

mkdir /mnt/sdb1
mount /dev/sdb1 /mnt/sdb1
cd /mnt/sdb1/boot
./Porteus.Installer.for.Linux.com 
umount /mnt/sdb1
the bootloader is syslinux btw ..dunno where lilo comes from
dont know about GPT. might be a problem.. EXT4 is fine..
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Installation failed with error code '2'

Post#5 by fanthom » 25 Oct 2015, 07:31

"dunno where lilo comes from"
systlinux does not support reiserfs/xfs so if these are found then installer defaults to LILO.
Please add [Solved] to your thread title if the solution was found.

User avatar
ncmprhnsbl
Full of knowledge
Full of knowledge
Posts: 787
Joined: 20 Mar 2012, 03:42
Distribution: 3.2.2-64bit xfce/openbox
Location: australia
Contact:

Re: Installation failed with error code '2'

Post#6 by ncmprhnsbl » 25 Oct 2015, 21:53

fanthom wrote:systlinux does not support reiserfs/xfs so if these are found then installer defaults to LILO.
ah... well there you go... thanks for clearing that up... :)
Forum Rules : http://forum.porteus.org/viewtopic.php?f=35&t=44

aus9

Re: Installation failed with error code '2'

Post#7 by aus9 » 25 Oct 2015, 22:09

Gentlemen I hate to be a stirrer but if you read OP first post he mentions
filesystem: ext4
so the reason for defaulting to Lilo may be something else?

User avatar
fanthom
Site Admin
Site Admin
Posts: 4547
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Installation failed with error code '2'

Post#8 by fanthom » 26 Oct 2015, 07:21

@aus9
Yes - this is known issue and solution is provided in this thread already:
viewtopic.php?f=81&t=5137#p38032
Please add [Solved] to your thread title if the solution was found.

forum-reg-sucks
Ronin
Ronin
Posts: 1
Joined: 07 Jul 2016, 23:01
Distribution: Ubuntu
Location: Earth

Re: Installation failed with error code '2'

Post#9 by forum-reg-sucks » 07 Jul 2016, 23:14

Trying to instal 3.2RC2 with XFCE.

Created EXT4 partition in linux, mounted in /mnt run linux installer, fails with error 2, appears to be looking for LILO...

Created fat32 in Windows, run win installer, fails cannot read sector 0...

Works on USB thumb drive, just trying to install to the internal ssd.

Please help!

Post Reply