LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2017, 10:32 PM   #1
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Rep: Reputation: Disabled
Getting Zesty installed on a USB drive that runs on 1 computer to run on a 2nd computer


I recently deleted the two Linux OS from my Pipo W9S triple boot computer. I wanted to replace Precise and Kylin with one distro, either Trusty or Xenial or Zesty.

For reasons unknown, my Pipo W9S would no longer boot from an Ubuntu live flash drive. Sometimes they wouldn't start, sometimes that got as far as "ubuntu" with five dots underneath it.

I then used my Pipo X10, which has Linux Mint 18 and Windows 10, to boot Zesty from one flash drive and install to another flash drive. This worked on the X10.

My Pipo W9S did not recognize the newly created Zesty flash drive.

The "good news" is that the Linux Mint 18 installation on the X10 UEFI menu was now replaced with the USB Zesty installation as a result of having installed Zesty on a flash drive on the X10.

I was able to start USB Zesty on the X10 and put the GRUB2 menuentry for USB Zesty in Grub2Win on the W9S. USB Zesty starts on the W9S and gets as far as "ubuntu" with five dots under it.

I once saw error messages from a journal that mentioned "X10" which makes me wonder if something specific to the X10 is in the code.

This is the GRUB2 menuentry from the X10:

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-4131c973-40b5-4af1-bda6-3025f88ec4a4' {
recordfail
load_video
gfxmode $linux_gfx_mode
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 4131c973-40b5-4af1-bda6-3025f88ec4a4
else
search --no-floppy --fs-uuid --set=root 4131c973-40b5-4af1-bda6-3025f88ec4a4
fi
linux /boot/vmlinuz-4.10.0-19-generic.efi.signed root=UUID=4131c973-40b5-4af1-bda6-3025f88ec4a4 ro quiet splash $vt_handoff
initrd /boot/initrd.img-4.10.0-19-generic
}

This works with Grub2Win on the Pipo X10, but not on the Pipo W9S.

If anybody wonders why, I like the idea of having it on USB because the computer only has 60 GB on what passes for its hard drive.

Also, it's convenient to be able to run the same OS with the same programs and files on different computers.

Also, by setting the GRUB menu on the flash drive to boot in UEFI, the machine won't start without the flash drive. This provides a little extra security when in the classroom or office.

Thank you for the time spent in reading this. I'm hoping that I've missed something that's painfully obvious to everyone else.

Last edited by gunghang; 05-29-2017 at 12:34 AM.
 
Old 05-29-2017, 01:48 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
tl;dr
what you want is possible, but not so easy.
prefabricated solutions exist.
please search "linux usb install with persistence"
 
Old 05-29-2017, 06:11 AM   #3
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Original Poster
Rep: Reputation: Disabled
My installation flash drives all have persistence. I make them with Pendrive Linux, UUI. For reasons known only to God, they don't get past the 'ubuntu' flash screen, if they boot at all.

"not so easy" is not a problem.
 
Old 05-30-2017, 05:50 AM   #4
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Original Poster
Rep: Reputation: Disabled
Using Rufus to prepare the installation flash drive made the critical difference. Choosing and EFI MBR worked.

Three installations, two on an external drive, one on a flash drive, and one on the internal drive, still will not start.

Very frustrating and contraintuitive.

It looks like adding persistence to a drive prepped with Rufus may be the best I can do.

Note to self: In the future, do not even think of buying a computer with Windows pre-installed.
 
Old 05-31-2017, 12:13 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 17,426
Blog Entries: 10

Rep: Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249Reputation: 5249
+1 for rufus!
glad you got it solved(ish).

ps: do you really live in mongolia? far out!
 
Old 06-01-2017, 12:20 AM   #6
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
Quote:
Originally Posted by gunghang View Post
I then used my Pipo X10, which has Linux Mint 18 and Windows 10, to boot Zesty from one flash drive and install to another flash drive. This worked on the X10.
I'm assuming that you want Zesty installed on the W9S. Here's what I would try and what I have successfully done several times.

First, on the X10, you need to use Clonezilla and image the Zesty USB stick installation.

Then move the clonezilla image over to the W9S machine. And use clonezilla to restore the image to a partition that's as big or bigger than the USB stick.

Now install Grub with Parted Magic and you're good to go.
 
Old 06-01-2017, 12:42 AM   #7
gunghang
Member
 
Registered: Sep 2013
Location: Inner Mongolia
Distribution: Linux Mint 17, Peppermint 6, others
Posts: 34

Original Poster
Rep: Reputation: Disabled
RE: Ondoho

Yes, I usually reside in Bangkok, but sometimes live/work in other parts of Thailand and Korea.

Right now, we are in China, Inner Mongolia to be precise. This is why I run Kylin.

RE: DVOM

I guess that operation might be in my future. I was toying with the dd command. Clonezilla sounds safer.

But, since getting Rufus to get my foot in the door, I got two distros to boot from the installation drive:

Ubuntu Gnome and Kylin 16.10 and Lubuntu 17.04

Gnome and Lubuntu both installed and miracle of miracles a menu appeared when I booted each one. (Kylin locked up on boot.)

So, Lubuntu runs and Windows 10 still boots. There are two other trial installations that don't boot, Gnome and Mint KDE, but all I need is one to break free from Windows.

There is a new problem (of course). No internet on Lubuntu. I'll start a thread for this latest headache du jour.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
my computer does not detect sound drivers for redhat 4.0 installed on my computer. i kunalp Linux - Desktop 2 06-17-2008 03:13 AM
my computer does not detect sound drivers for redhat 4.0 installed on my computer. i kunalp Linux - Hardware 1 06-17-2008 03:11 AM
Why Scourge (2nd computer) isn't getting ip address from Misery (1st computer) dhcp? pslave Linux - Networking 2 04-09-2006 05:58 AM
Really old computer 2nd hard drive problem metallicafan_316 Linux - General 7 10-30-2005 07:48 PM
Internet on 2nd computer thru 1st computer jmsuthar General 4 09-11-2004 11:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration