Problem in boot from usb [SOLVED]
-
- Black ninja
- Posts: 35
- Joined: 05 Apr 2014, 02:06
- Distribution: Porteus
- Location: Brazil
Problem in boot from usb [SOLVED]
I'm using Porteus 64bits KDE4, and i wanted re-install. So i run the following steps:
1) I downloaded the Porteu 64bit iso file
2) In terminal, as root, I typed...
2.1) mloop /mnt/loop
2.2) cp -a /mnt//loop/* /mnt/sdb1/
2.3) cd /mnt/sdb1/boot/
2.4) sh Porteus-installer-for-Linux.com
3) Enter + Enter
Problem: When i boot from usb, the system run the OS (Operating System) that was already installed.
What is wrong?
How do i fix this?
1) I downloaded the Porteu 64bit iso file
2) In terminal, as root, I typed...
2.1) mloop /mnt/loop
2.2) cp -a /mnt//loop/* /mnt/sdb1/
2.3) cd /mnt/sdb1/boot/
2.4) sh Porteus-installer-for-Linux.com
3) Enter + Enter
Problem: When i boot from usb, the system run the OS (Operating System) that was already installed.
What is wrong?
How do i fix this?
Last edited by alexandre-samuel on 12 Apr 2014, 18:18, edited 2 times in total.
-
- Black ninja
- Posts: 35
- Joined: 05 Apr 2014, 02:06
- Distribution: Porteus
- Location: Brazil
Re: Problem in boot from usb
It`s worsened!
Now, when a run the step 3, appear the following error:
Flushing filesystem buffers...
The default Porteus bootloader (extlinux) does not support
the aufs filesystem - using LILO for the installation.
.porteus_installer/installer.com: line 227: /root/Downloads/syslinux/lilo.menu: No such file or directory
.porteus_installer/installer.com: line 240: /root/Downloads/syslinux/lilo.menu: No such file or directory
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
Installer detected that Porteus is being installed to the subfolder root
Press Enter to allow the installer to edit /root/Downloads/syslinux/lilo.menu
The following actions will be taken:
- the old from= cheatcode will be removed (if it exists)
- from=root cheatcode will be added
- changes=/porteus cheatcode will be replaced with changes=root/porteus
If you do not want the installer to update the bootloader config then press
Ctrl+c to exit, update the configuration file manually and run the installer
again with the -s (skip) flag like this:
./linux-installer.com -- -s
Press Enter to proceed or Ctrl+c to exit.
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
Updated /root/Downloads/syslinux/lilo.menu
Installation failed with error code '4'.
Please ask for help on the Porteus forum: www.porteus.org/forum
and provide the information from /root/Downloads/debug.txt
Exiting now...
cat: /root/Downloads/syslinux/lilo.menu: No such file or directory
Now, when a run the step 3, appear the following error:
Flushing filesystem buffers...
The default Porteus bootloader (extlinux) does not support
the aufs filesystem - using LILO for the installation.
.porteus_installer/installer.com: line 227: /root/Downloads/syslinux/lilo.menu: No such file or directory
.porteus_installer/installer.com: line 240: /root/Downloads/syslinux/lilo.menu: No such file or directory
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
Installer detected that Porteus is being installed to the subfolder root
Press Enter to allow the installer to edit /root/Downloads/syslinux/lilo.menu
The following actions will be taken:
- the old from= cheatcode will be removed (if it exists)
- from=root cheatcode will be added
- changes=/porteus cheatcode will be replaced with changes=root/porteus
If you do not want the installer to update the bootloader config then press
Ctrl+c to exit, update the configuration file manually and run the installer
again with the -s (skip) flag like this:
./linux-installer.com -- -s
Press Enter to proceed or Ctrl+c to exit.
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
sed: can't read /root/Downloads/syslinux/lilo.menu: No such file or directory
Updated /root/Downloads/syslinux/lilo.menu
Installation failed with error code '4'.
Please ask for help on the Porteus forum: www.porteus.org/forum
and provide the information from /root/Downloads/debug.txt
Exiting now...
cat: /root/Downloads/syslinux/lilo.menu: No such file or directory
-
- Black ninja
- Posts: 35
- Joined: 05 Apr 2014, 02:06
- Distribution: Porteus
- Location: Brazil
Re: Problem in boot from usb
help me, please!
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Problem in boot from usb
What is SO?Problem: When i boot from usb, the system run the SO that was already installed.
Prendre son temps, profiter de celui qui passe.
-
- Black ninja
- Posts: 35
- Joined: 05 Apr 2014, 02:06
- Distribution: Porteus
- Location: Brazil
Re: Problem in boot from usb
@Francois
Sorry,
SO = OS (Operating System)
Edited
Sorry,
SO = OS (Operating System)
Edited
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: Problem in boot from usb
probably old changes persisted?When i boot from usb, the system run the OS (Operating System) that was already installed.
tryThe default Porteus bootloader (extlinux) does not support
the aufs filesystem - using LILO for the installation.
you should run the installer from mounted media and not aufs
i would suggest reformatting and trying once again (maybe from Windows if Linux gives troubles).
Please add [Solved] to your thread title if the solution was found.
-
- Black ninja
- Posts: 35
- Joined: 05 Apr 2014, 02:06
- Distribution: Porteus
- Location: Brazil
Re: Problem in boot from usb
@fanthom
I don't have Windows
Sorry. I'm very newbie!
How do I fix this?probably old changes persisted?
But, How do I do this?you should run the installer from mounted media and not aufs
Sorry, but I don't undestand!i would suggest reformatting and trying once again (maybe from Windows if Linux gives troubles).
I don't have Windows
Sorry. I'm very newbie!
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Problem in boot from usb
1) I downloaded the Porteu 64bit iso file
From what type of installation did you do that? Another linux, a porteus cd?
From what type of installation did you do that? Another linux, a porteus cd?
Prendre son temps, profiter de celui qui passe.
-
- Black ninja
- Posts: 35
- Joined: 05 Apr 2014, 02:06
- Distribution: Porteus
- Location: Brazil
Re: Problem in boot from usb
@francois
I did the same way that's in the porteus site.
I followed this tutorial:
http://www.porteus.org/component/conten ... #USB-linux
I have installed in my note Porteus 64bits. For study purposes, i downloaded Porteus 64bits iso file, and i tryed re-install it. But, I tryed re-install from pen drive.From what type of installation did you do that? Another linux, a porteus cd?
I did the same way that's in the porteus site.
I followed this tutorial:
http://www.porteus.org/component/conten ... #USB-linux
- francois
- Contributor
- Posts: 6445
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Problem in boot from usb
You do not answer to my question. Before downloading the porteus.iso, you have a computer, what is the operating system that you were in?
Prendre son temps, profiter de celui qui passe.
- Slaxmax
- Contributor
- Posts: 408
- Joined: 03 Jan 2013, 09:51
- Distribution: KDE4
- Location: Campinas Brazil https://goo.gl/yrxwKi
Re: Problem in boot from usb
maybe is this (problem same sgn file version)
for example
in your flash drive installed porteus
go to /mnt/sdb1/boot/syslinux/
open porteus.cfg
change from...
to
and save porteus.cfg
now
go to porteus folder in your flashdrive and rename file porteus-v3.0-x86_64.sgn to porteus-usb-v3.0-x86_64.sgn
Reboot and test
for example
in your flash drive installed porteus
go to /mnt/sdb1/boot/syslinux/
open porteus.cfg
change from...
Code: Select all
LABEL fresh
MENU LABEL Always Fresh
KERNEL vmlinuz
APPEND initrd=initrd.xz nomagic base_only norootcopy
TEXT HELP
Normally Porteus saves all changes
to the /porteus/changes/ directory
on the boot media (if writable)
and restores them next boot.
Use this option to start a fresh
system, changes are not read from
or written to any device
ENDTEXT
Code: Select all
LABEL fresh
MENU LABEL Always Fresh
KERNEL vmlinuz
APPEND initrd=initrd.xz sgnfile=porteus-usb-v3.0-x86_64.sgn nomagic base_only norootcopy
TEXT HELP
Normally Porteus saves all changes
to the /porteus/changes/ directory
on the boot media (if writable)
and restores them next boot.
Use this option to start a fresh
system, changes are not read from
or written to any device
ENDTEXT
now
go to porteus folder in your flashdrive and rename file porteus-v3.0-x86_64.sgn to porteus-usb-v3.0-x86_64.sgn
Reboot and test
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead
― Bill Gates, The Road Ahead
- freestyler
- Contributor
- Posts: 384
- Joined: 17 Oct 2013, 14:21
- Distribution: Porteus XFCE
Re: Problem in boot from usb
When I re-install I boot up "always fresh" with copy2ram cheat code. I then unmount the drive using partition manager, delete it, add a new one then reboot
https://www.porteus-apps.org
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Problem in boot from usb
But, I tryed re-install from pen drive.
This is the problem. You are trying to re-install a system that is already running.
Do what freestyler suggests.
When you boot porteus (the original one) wait until the boot screen and then move down to 'awlays fresh mode' ... hit the 'TAB' key. Enter the words: copy2ram then press enter.
# All parts in bold are typed into a terminal/console
# After you boot you can then mount your new ISO:
su
toor
mloop /path/to/Porteus-LXDE-x86_64.iso
# Mount your USB drive:
mount /dev/sdxY
# Remove it's contents:
rm -rf //mnt/sdxY/*
# Copy the new ISO:
cp -a /mnt/loop/* /mnt/sdxY/
reboot
Replace sdxY with your actual USB block and partition. You can type blkid to see this information.
This is the problem. You are trying to re-install a system that is already running.
Do what freestyler suggests.
When you boot porteus (the original one) wait until the boot screen and then move down to 'awlays fresh mode' ... hit the 'TAB' key. Enter the words: copy2ram then press enter.
# All parts in bold are typed into a terminal/console
# After you boot you can then mount your new ISO:
su
toor
mloop /path/to/Porteus-LXDE-x86_64.iso
# Mount your USB drive:
mount /dev/sdxY
# Remove it's contents:
rm -rf //mnt/sdxY/*
# Copy the new ISO:
cp -a /mnt/loop/* /mnt/sdxY/
reboot
Replace sdxY with your actual USB block and partition. You can type blkid to see this information.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Black ninja
- Posts: 35
- Joined: 05 Apr 2014, 02:06
- Distribution: Porteus
- Location: Brazil
Re: Problem in boot from usb
Porteus 64bitsfrancois wrote:You do not answer to my question. Before downloading the porteus.iso, you have a computer, what is the operating system that you were in?
I tried! I don't remember very well, but the problem with aufs systemfile continued.Slaxmax wrote:maybe is this (problem same sgn file version)
for example
in your flash drive installed porteus
go to /mnt/sdb1/boot/syslinux/
open porteus.cfg
change from...
toCode: Select all
LABEL fresh MENU LABEL Always Fresh KERNEL vmlinuz APPEND initrd=initrd.xz nomagic base_only norootcopy TEXT HELP Normally Porteus saves all changes to the /porteus/changes/ directory on the boot media (if writable) and restores them next boot. Use this option to start a fresh system, changes are not read from or written to any device ENDTEXT
and save porteus.cfgCode: Select all
LABEL fresh MENU LABEL Always Fresh KERNEL vmlinuz APPEND initrd=initrd.xz sgnfile=porteus-usb-v3.0-x86_64.sgn nomagic base_only norootcopy TEXT HELP Normally Porteus saves all changes to the /porteus/changes/ directory on the boot media (if writable) and restores them next boot. Use this option to start a fresh system, changes are not read from or written to any device ENDTEXT
now
go to porteus folder in your flashdrive and rename file porteus-v3.0-x86_64.sgn to porteus-usb-v3.0-x86_64.sgn
Reboot and test
freestyler wrote:When I re-install I boot up "always fresh" with copy2ram cheat code. I then unmount the drive using partition manager, delete it, add a new one then reboot
[/quote]brokenman wrote:But, I tryed re-install from pen drive.
This is the problem. You are trying to re-install a system that is already running.
Do what freestyler suggests.
When you boot porteus (the original one) wait until the boot screen and then move down to 'awlays fresh mode' ... hit the 'TAB' key. Enter the words: copy2ram then press enter.
# All parts in bold are typed into a terminal/console
# After you boot you can then mount your new ISO:
su
toor
mloop /path/to/Porteus-LXDE-x86_64.iso
# Mount your USB drive:
mount /dev/sdxY
# Remove it's contents:
rm -rf //mnt/sdxY/*
# Copy the new ISO:
cp -a /mnt/loop/* /mnt/sdxY/
reboot
Replace sdxY with your actual USB block and partition. You can type blkid to see this information.
I got it! Thanks
#####################
@francois, @Slaxmax, @freestyler and @brokenman
Thanks for all!
#####################
[SOLVED]