Author Topic: [ Testing Completed ] LiveUSB Testers  (Read 5707 times)

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: LiveUSB Testers wanted
« Reply #30 on: December 31, 2011, 03:47:09 PM »
Unfortunately it seems the Copy2RAM function fails if the loop image is not in the root directory.

I have not investigated this .....  that is from a cursory test.
The previous version had the loop image in the root of the USB device.

Will have to think about this ......  and how valuable the Copy2RAM function is for the USB device ......  at least in the short term.

Thanks again mate for picking up on this.

regards

If the loop image has to be in the root filesystem, how about naming each one according to its desktop name? Don't know what's involved in doing that, or even if it will work.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
Re: LiveUSB Testers wanted
« Reply #31 on: December 31, 2011, 04:38:36 PM »
Unfortunately it seems the Copy2RAM function fails if the loop image is not in the root directory.

I have not investigated this .....  that is from a cursory test.
The previous version had the loop image in the root of the USB device.

Will have to think about this ......  and how valuable the Copy2RAM function is for the USB device ......  at least in the short term.

Thanks again mate for picking up on this.

regards

If the loop image has to be in the root filesystem, how about naming each one according to its desktop name? Don't know what's involved in doing that, or even if it will work.


That had been done previously ... not a problem ......  but it does leave things untidy and not as easy to manage.

Will have to give it some consideration over the next couple of days ....
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Online Vorteggs

  • Hero Member
  • *****
  • Posts: 2418
Re: LiveUSB Testers wanted
« Reply #32 on: December 31, 2011, 05:25:28 PM »
Made a gift to myself.
Tried the script and made a LiveUSB with it. :D

Thanks Just(17?)!
Everything works so far even Copy2RAM option. ;D

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5337
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: LiveUSB Testers wanted
« Reply #33 on: December 31, 2011, 08:37:58 PM »
Works just fine on my 32 bit system! Am posting from it right now. Was simple and easy to understand.


Thanks for the report  ;)

Do let me know if anything weird should happen.

regard

I have noticed if I reboot my machine, it will not boot from the liveusb. If however I power off the machine and than boot it works just fine. I do have the system set to boot first to the usb stick. Also when rebooting the liveusb it does not show up should one press F12 to select the boot options. It does show up if I power off the machine and than try to boot.  I am not sure if this is just a machine quirk or something with the liveusb itself.

I expect that is machine dependent ......  at least I cannot think what else might cause it.


It does appear so. I have tried the usb on a couple of other machines and when rebooting it works as expected.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
Re: LiveUSB Testers wanted
« Reply #34 on: December 31, 2011, 10:17:12 PM »
Well, not going out tonight, I decided to have a look at the problem with Copy2RAM.

I have reverted back to the previous method of saving the files on the USB device.

So copy2RAM is working again!

This is the script with the changes ... I hopefully have not touched anything else, so all should be OK .....  but that is what testing is for I guess  :D

http://dl.dropbox.com/u/5838889/lusbc_0.9.7-1.sh

Thanks for the continuing reports ......  they are appreciated  ;)




....  I am a sad case .....  5.16 am new years day, and I am just now finishing for the night .......  

« Last Edit: January 02, 2012, 04:04:22 AM by Just18 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: LiveUSB Testers wanted
« Reply #35 on: January 01, 2012, 02:58:41 PM »

....  I am a sad case .....  5.16 am new years day, and I am just now finishing for the night ....... 


I know the feeling. I will give this the same workout.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
Re: LiveUSB Testers wanted
« Reply #36 on: January 01, 2012, 05:29:38 PM »

....  I am a sad case .....  5.16 am new years day, and I am just now finishing for the night .......  


I know the feeling. I will give this the same workout.


Thank you!

I can only hope I didn't miss anything due to tiredness ;) .....  or worse affect something I shouldn't have ....


regards.
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: LiveUSB Testers wanted
« Reply #37 on: January 01, 2012, 09:50:35 PM »

I can only hope I didn't miss anything due to tiredness ;) .....  or worse affect something I shouldn't have ....


Nope. We have a winner. Everything works.

I started with a live CD session on the PIII, 512MB of RAM, using the last OpenBox Bonsai. This machine does not have a USB boot option in BIOS. I used your PLOP floppy image to boot from USB. Checked all boot options when creating the live USB. When I rebooted from the USB thumbdrive, the first thing I selected was Openbox with Copy to RAM. Worked flawlessly. I then rebooted to persistence mode. Setup wifi with password and copied the lusbc_0.9.7-1.sh to guest's ~/Downloads directory. Rebooted with persistence again and wireless came up automatically. Copied script was where I left it. Rebooted again and ran Memtest. That works, too.

I then switched to an AMD Duron, 1152MB of RAM, already running from its hard drive installed OS. Ran the lusbc_0.9.7-1.sh script and used the RAW iso to add to the USB's contents, naming the entry "RAW". Again, I checked all boot options. This machine also requires the PLOP floppy image to boot from USB. Just like on the PIII, the USB port booted from is on a PCI card. Rebooted from the USB. Guess what the new entries were named? If you guessed "RAW", you'd be correct. Tried the copy to RAM option first. At first, I thought there was a problem. Then I remembered Hootiegibbon's creation boots to an X-client script with no wallpaper or toolbars. Just a blackscreen running X. Right-clicked and got, I think, an FVWM menu. Rebooted again with persistence. Did a full Synaptic upgrade and installed the full IceWM. Rebooted once more with persistence and all updates were intact.

The last reboot was to check Memtest option again. Bear in mind, I chose to add Memtest both from the live CD session, and from the copy from iso session. As a result, there are two Memtest GRUB entries. The executable was only written once, to the /boot directory. I don't know whether to call that a flaw or not. I think not. It would be extra work to see if a previous Memtest entry already exists in the /boot/grub/menu.lst file, then deselect that option if it already exists. I think it's better to just tell the user to only select the Memtest option once.

I was hoping you wouldn't drop any of the extra options included in the script. True to form, you didn't. The loop files are /OpenBox0.sqfs and /RAW0.sqfs. Doesn't look "messy" to me. Looks very logical and easy to know what belongs to what, along with the folder names.

The thumbdrive is 16GB formatted with ext4 on a single partition. I had no problems with repeated reboots from the USB. I really like what you've done with this. Excellent work!
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Online Vorteggs

  • Hero Member
  • *****
  • Posts: 2418

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
Re: LiveUSB Testers wanted
« Reply #39 on: January 02, 2012, 03:15:35 AM »
http://dl.dropbox.com/u/5838889/lusbc_0.9.7-1.sh

Works here with no problems :)


Thank you for testing .....  appreciate the report  ;)

Can you give the hardware specs of the machine it was run on, please?

regards.
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
Re: LiveUSB Testers wanted
« Reply #40 on: January 02, 2012, 03:50:38 AM »

I can only hope I didn't miss anything due to tiredness ;) .....  or worse affect something I shouldn't have ....


Nope. We have a winner. Everything works.

I started with a live CD session on the PIII, 512MB of RAM, using the last OpenBox Bonsai. This machine does not have a USB boot option in BIOS. I used your PLOP floppy image to boot from USB. Checked all boot options when creating the live USB. When I rebooted from the USB thumbdrive, the first thing I selected was Openbox with Copy to RAM. Worked flawlessly. I then rebooted to persistence mode. Setup wifi with password and copied the lusbc_0.9.7-1.sh to guest's ~/Downloads directory. Rebooted with persistence again and wireless came up automatically. Copied script was where I left it. Rebooted again and ran Memtest. That works, too.

I then switched to an AMD Duron, 1152MB of RAM, already running from its hard drive installed OS. Ran the lusbc_0.9.7-1.sh script and used the RAW iso to add to the USB's contents, naming the entry "RAW". Again, I checked all boot options. This machine also requires the PLOP floppy image to boot from USB. Just like on the PIII, the USB port booted from is on a PCI card. Rebooted from the USB. Guess what the new entries were named? If you guessed "RAW", you'd be correct. Tried the copy to RAM option first. At first, I thought there was a problem. Then I remembered Hootiegibbon's creation boots to an X-client script with no wallpaper or toolbars. Just a blackscreen running X. Right-clicked and got, I think, an FVWM menu. Rebooted again with persistence. Did a full Synaptic upgrade and installed the full IceWM. Rebooted once more with persistence and all updates were intact.

The last reboot was to check Memtest option again. Bear in mind, I chose to add Memtest both from the live CD session, and from the copy from iso session. As a result, there are two Memtest GRUB entries. The executable was only written once, to the /boot directory. I don't know whether to call that a flaw or not. I think not. It would be extra work to see if a previous Memtest entry already exists in the /boot/grub/menu.lst file, then deselect that option if it already exists. I think it's better to just tell the user to only select the Memtest option once.

I was hoping you wouldn't drop any of the extra options included in the script. True to form, you didn't. The loop files are /OpenBox0.sqfs and /RAW0.sqfs. Doesn't look "messy" to me. Looks very logical and easy to know what belongs to what, along with the folder names.

The thumbdrive is 16GB formatted with ext4 on a single partition. I had no problems with repeated reboots from the USB. I really like what you've done with this. Excellent work!


As comprehensive a test run as I have come to expect .....  really appreciate that.
I am aware of the time and effort it takes to do this.

Just for clarity, can I ask if you used the 'primary OS' install option for Openbox and the 'Add an OS' option for RAW, or did you have an OS already on that stick and use the 'ADD' option for both?
I think this is not important now, just want to clarify in case of any questions later.

Regarding Memtest ......  the memtest package is present on the install from a 'Primary OS' install, whether it is selected to be used or not, for that install.
This provides  memtest  as an option for additional installs, even if not selected for the first one.
It is a small package ~160K so has little effect on space consumed, and is, IMO, well worth having there by default.

Quote
I was hoping you wouldn't drop any of the extra options included in the script. True to form, you didn't. The loop files are /OpenBox0.sqfs and /RAW0.sqfs. Doesn't look "messy" to me. Looks very logical and easy to know what belongs to what, along with the folder names.

I chose the easiest way out of my dilemma in the end  :D  I reverted to the previous method of storing the files, with the .sqfs files in the root of the device.
I did make a slight change to the naming convention, which distinguishes the files from those installed by the previous version - not needed, but for my testing it helps to know which is which. So the name now is the 'name' chosen by the user with a number appended which is the Grub partition number on which it is installed. Previously I had an underscore between name and number.

FYI, having the partition number appended allows the user to have the same named OS installed on multiple partitions of the one device, and yet ensures that the correct .sqfs file is used for each.
So, if you wished you could have an OS named KDE on several partitions of the device - say different releases like 06 & 09 - and the correct one will be used for booting for both. Without the number the first file found that matched the name would always be used ....  so the 06 .sqfs file might be used when trying to boot 09, and throw up problems.

Also it is great to hear that the PLOP boot manager works in the situation you described.
A very useful package that ..... pity it is not released under the GPL.

Thanks again mate  ;)

*******

I will now withdraw the script from the download, as I believe testing is complete .....  or as complete as possible.

I want to thank all those who took the time and effort to check out that it would run and do as expected.
I really do appreciate the effort it takes, so a big Thank You to all.

When the translations are complete this will be packaged and hopefully hit the repositories some time later.  :D

regards.
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Online Vorteggs

  • Hero Member
  • *****
  • Posts: 2418
Re: LiveUSB Testers wanted
« Reply #41 on: January 02, 2012, 04:13:56 AM »
Thank you for testing .....  appreciate the report  ;)

Can you give the hardware specs of the machine it was run on, please?

regards.


Here:
http://pastebin.com/XBEaNR8R
For some reason forum software doesn't allow me to post the lshw output as code :-\

Thank you for the script! :)

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
Re: LiveUSB Testers wanted
« Reply #42 on: January 02, 2012, 04:17:41 AM »
Thank you for testing .....  appreciate the report  ;)

Can you give the hardware specs of the machine it was run on, please?

regards.

Here:
<snip>
For some reason forum software doesn't allow me to post the lshw output as code :-\

Thank you for the script! :)

Thank you!  Got it  ;)
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10691
  • MLUs Forever!
Re: [ Testing Completed ] LiveUSB Testers
« Reply #43 on: January 02, 2012, 05:26:41 AM »
Before finishing up I wondered if anyone had to use an additional specific boot option to get the OS to boot properly?


***

In addition I wonder if it is necessary or desirable to include the boot options

quiet
vmalloc=256M

automatically in the script?

If anyone has info or opinion on this please post.


Thanks.
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: [ Testing Completed ] LiveUSB Testers
« Reply #44 on: January 02, 2012, 05:38:25 AM »
In addition I wonder if it is necessary or desirable to include the boot options

quiet
vmalloc=256M

AFAIK, quiet is always included in official PCLinuxOS release. (from 2011-06 ? )
vmalloc=256M can save the day when using some Nvidia cards, like you should already know.  ;) :D

I would include vmalloc=256M always, and give users an option for "quiet splash=silent" or  "splash=verbose"

AS