Author Topic: SOLVED how do I make a download usable?  (Read 2148 times)

Offline flighty

  • Full Member
  • ***
  • Posts: 131
Re: how do I make a download usable?
« Reply #30 on: January 27, 2011, 02:13:34 AM »
[jennifer@localhost ~]$ su
Password:
[root@localhost jennifer]# fdisk -l

Disk /dev/sda: 400.1 GB, 400087375360 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781420655 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: 0x000693c0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    82831139    41415538+  83  Linux
/dev/sda2        82831140   165260654    41214757+  83  Linux
/dev/sda3       165260655   186209414    10474380   82  Linux swap / Solaris
/dev/sda4       186209476   781417664   297604094+   5  Extended
/dev/sda5       186209478   781417664   297604093+  83  Linux
[root@localhost jennifer]# fdisk -l /dev/sdb1
[root@localhost jennifer]# fdisk -l /dev/sdb1
[root@localhost jennifer]# fdisk -l /dev/sdb1

Disk /dev/sdb1: 16.0 GB, 16043278336 bytes
64 heads, 32 sectors/track, 15300 cylinders, total 31334528 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: 0x00000000

Disk /dev/sdb1 doesn't contain a valid partition table
[root@localhost jennifer]#

Cor, that was easy....  Thanks

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: how do I make a download usable?
« Reply #31 on: January 27, 2011, 02:39:52 AM »
[jennifer@localhost ~]$ su
Password:
[root@localhost jennifer]# fdisk -l /dev/sdb1

Disk /dev/sdb1: 16.0 GB, 16043278336 bytes
64 heads, 32 sectors/track, 15300 cylinders, total 31334528 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: 0x00000000

Disk /dev/sdb1 doesn't contain a valid partition table
[root@localhost jennifer]#

Cor, that was easy....  Thanks

 ......  the command is incorrect thus the error message.
The 'device' will contain the partition table; you have queried the partition on the device.

So do this please:

fdisk  -l  /dev/sdb     ..... the 'b' could change every time you insert the device so be prepared to change that to get a result.

regards.
« Last Edit: January 27, 2011, 02:53:04 AM by Just19 »

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: how do I make a download usable?
« Reply #32 on: January 27, 2011, 03:19:34 AM »
@Just19

I know the existance of Live USB Creator - and I used it once or twice;
but I stay using UnetBootin
=> this way my flash drive keeps formatted in e.g. fat32; it boots up PCLinuxOS when needed, else I can just use it as a flash drive in Windows/Linux, and put my files between my unetbootin-stuff when I want (and when I just need more space, I just can delete the contents in Linux AND Windows, and place it back later with UnetBootin (in Windows or in Linux)

This is because most of the other people on school uses Windows, so I can use my USB drive there (else it's worth nothing there  ::))

Regardless its name, the liveusb creator tool is designed to put a live PCLOS on any removable drive which has been previously formatted. That includes external HDDs and flash media drives as well as firewire or other removable drives.
Just like external HDDs a flash media drive can be partitioned to suit the user's needs.
The tool will put a bootable PCLOS on any of those partitions ......  I have tested it on the 17th partition of a flash drive.

The Win mindset has been to prevent such partitioning being 'allowed' on a removable flash device.
Such limitation of Win does not apply to other OSs, but if the first partition of the device is FAT then Win should be able to use that space, while ignoring all the other partitions.

Multiple partitions is, IMO, a much more user friendly and convenient means of using a flash drive without artificial limitations.

As an example .....  if you have a 32GB flash drive, to use it as Win wants you to, you would have to have one large partition on it.
To use it in Linux you can have as many partitions as you wish on it.
To use it on both, but with multiple partitions, just ensure the first partition is accessible by Win -- use a Win filesystem on the first partition.

Using multiple partitions you can designate specific space for the OS, leaving the rest for other uses as the user wishes.

Quote
EDIT: And I know you need to use Live USB Creator to get a persistant installation on USB (beautiful tool for that purpose!)  8)

As far as I am aware persistence is achievable using other tools also ......  I am not very familiar with Unetbootin as it never worked properly for me, but I would suggest it is possible to get persistence using that tool too.

The other great advantage, as I see it, of the liveusb creator tool, is its ability to put multiple versions of PCLOS on one (or multiple) partition(s) of the media, and have each of those bootable from a selection screen. Each of the individual OS versions can have persistence. It does all this, and more, with very little user input (just sufficient to know what the user wants).

Sorry, didn't mean to be so verbose ;D .....  just wanted to highlight some of the options and the thinking behind them.

regards.

Offline Xero

  • Sr. Member
  • ****
  • Posts: 468
Re: how do I make a download usable?
« Reply #33 on: January 27, 2011, 05:07:37 AM »
OK, I'll ask a silly question - Unetbootin is in the repository - synaptic can install it.  Why have you downloaded it?

I'll second this. Why did you download Unetbootin? It's in the repos. Just fire up Synaptic and install it. In addition, installing from outside the repos is not recommended and isn't supported.

The download version isn't installable, it's a self-contained executable, which only needs making executable to be able to be run. I've installed the version in the repos previously, and it's never worked properly. I have the downloaded file sitting in my /home folder and use it for creating other live "cds" on usb thumb drives. It at least has never failed to work for me.

Again, nothing is being installed, so this complaint has no bearing on any of it.
There is no shame in saying "I don't know".

Offline flighty

  • Full Member
  • ***
  • Posts: 131
Re: how do I make a download usable?
« Reply #34 on: January 27, 2011, 05:28:47 AM »

[jennifer@localhost ~]$ su
Password:
[root@localhost jennifer]# fdisk -l /dev/sdb

Disk /dev/sdb: 16.0 GB, 16047407104 bytes
64 heads, 32 sectors/track, 15304 cylinders, total 31342592 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: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        8064    31342591    15667264   83  Linux
[root@localhost jennifer]#

Sorry, I confused the numeral 1 with the letter l

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: how do I make a download usable?
« Reply #35 on: January 27, 2011, 08:29:19 AM »

[jennifer@localhost ~]$ su
Password:
[root@localhost jennifer]# fdisk -l /dev/sdb

Disk /dev/sdb: 16.0 GB, 16047407104 bytes
64 heads, 32 sectors/track, 15304 cylinders, total 31342592 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: 0xc3072e18

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        8064    31342591    15667264   83  Linux
[root@localhost jennifer]#

Sorry, I confused the numeral 1 with the letter l


NP  ;)

Before you go any further you should make a decision about the usage of this device.
It is 16GB in size and you can put multiple partitions on it if you choose - see my previous post about the use of such partitions.

So if you wish to share data with a Win machine you would create a suitably sized first partition in FAT32 (or NTFS).
The live OS only needs about 1GB of that 16 ......  and maybe make it 2GB if you wish to keep any changes you make to the live OS.

Of course if you have no need to share data from this device, then you can leave the partitioning as it is, and use the plentiful space to install lots of PCLOS live OSs to it, and be able to choose which to boot at any time.
For those of us who like to show the different desktop environments to others, this can be very useful.

Either way .....  you run the liveusb creator package, knowing exactly where you have stored the ISO you downloaded .....  or alternatively you can use the files from whichever PCLOS livecd you are using.
You must of course make that choice within the utility.

For the first OS you put on the device make sure you select the correct option .....  first or primary OS.
After that if you wish to put other versions of PCLOS on it select to add an OS, or the first one will be wiped.

Let us know what happens at your next try to use the liveusb creator utility.

regards.

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: how do I make a download usable?
« Reply #36 on: January 27, 2011, 09:43:59 AM »
Thanks Just19 for the explanation of the Live USB Creator (had searched already a little about it on the forum)......
But because my USB flash drives aren't that large, and I sometimes nearly need the whole capacity (also on Windows pc's), I'll stay using UnetBootin (and I never had any problem with it... - but did hear of problems with it)


Offline flighty

  • Full Member
  • ***
  • Posts: 131
Re: how do I make a download usable?
« Reply #37 on: January 27, 2011, 10:02:38 PM »
I'm nearly there. I think.  Live USB Creator told me that the OS had been satisfactorily loaded.  However, the flash drive doesn't appear to be bootable.  I just get my normal PCLinuxOS screen when I boot.

I have tried selecting both USB-FDD and USB-CDROM as first boot in the BIOS but neither makes any difference.  When I open the flash drive with Dolphin I get a panel showing a lot of icons from 'device map to xfs_stage1-5', which I find rather baffling.

If the booting can be sorted easily it would be great.  (Actually I wouldn't mind doing it all over again right from the PCC as it might help to lodge the proceedure in my failing memory).

Offline rubentje1991

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2110
  • Rubenus Parvus MCMXCI
Re: how do I make a download usable?
« Reply #38 on: January 28, 2011, 01:13:17 AM »
One of my usb-keys is recognised as a USB-HDD (hard-disk); so maybe you can put in the stick, and open your BIOS again and look at the hard disk drives section (which of them boots first)....

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: how do I make a download usable?
« Reply #39 on: January 28, 2011, 05:28:47 AM »
I'm nearly there. I think.  Live USB Creator told me that the OS had been satisfactorily loaded.  However, the flash drive doesn't appear to be bootable.  I just get my normal PCLinuxOS screen when I boot.

I have tried selecting both USB-FDD and USB-CDROM as first boot in the BIOS but neither makes any difference.  When I open the flash drive with Dolphin I get a panel showing a lot of icons from 'device map to xfs_stage1-5', which I find rather baffling.

If the booting can be sorted easily it would be great.  (Actually I wouldn't mind doing it all over again right from the PCC as it might help to lodge the proceedure in my failing memory).

To be sure that all the files have been created on the flash drive, you can insert it while running your normal PCLOS and view its contents.
If you do that and list its contents in a post we will have a very good idea if all did indeed work as planned. There is no need to list the files within the folders ..... just those on the root of the device will do.
The files you mention above are those in the /boot/grub folder on the device and are normal and used by Grub to control the booting of the OS on the device.
You should see
boot folder
<name>  folder
<name>.iso file
The name being whatever name you choose when writing the OS to the device.

Some PCs will not automatically boot from a USB device .....  but require the user to make a selection during the initial booting of the PC.
This key press option is often hidden from the user by the BIOS settings .....  having a Logo displayed for instance may hide it.

So it might be useful at first to disable that display, if set, so you can see the key press options.
I have had PCs which require F1, F2, F12 or other key to be pressed to have the boot options displayed.
Most of the PCs will then list the USB flash drive under HDDs ....  and when selected will boot successfully.
Other PCs will boot immediately from the USB flash drive if set in the BIOS.
It really depends on how the BIOS options function.

Once the contents of the USB device are confirmed, it is down to the BIOS selection method to boot the device.

regards.
« Last Edit: January 28, 2011, 05:33:55 AM by Just19 »

Offline flighty

  • Full Member
  • ***
  • Posts: 131
Re: how do I make a download usable?
« Reply #40 on: January 28, 2011, 09:38:58 AM »
I have tried, several times, to get the flash drive to boot from my boot menu, selected by pressing F12 on computer startup.  I've also set the first boot option as USB in my bios.  Nothing has worked, which is why I think the flash drive just isn't bootable.

When I open the flash drive with File Manager I get:  boot   KDE_0   lost+found   KDE_.sqfs

KDE is the name I chose for the download as that's the Desktop I use.  There are a lot of file icons under the two KDE's above, most of which just present the 'open with' panel.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: how do I make a download usable?
« Reply #41 on: January 28, 2011, 10:01:45 AM »
I have tried, several times, to get the flash drive to boot from my boot menu, selected by pressing F12 on computer startup.  I've also set the first boot option as USB in my bios.  Nothing has worked, which is why I think the flash drive just isn't bootable.

When I open the flash drive with File Manager I get:  boot   KDE_0   lost+found   KDE_.sqfs

KDE is the name I chose for the download as that's the Desktop I use.  There are a lot of file icons under the two KDE's above, most of which just present the 'open with' panel.

All files would appear to be present, and if you received no error message when installing the OS to the device then it is very likely that the USB device is bootable.

Unless of course you chose not to install Grub to the MBR of the device! In which case it is likely not bootable. If that is the case then it can easily be corrected.

When you press F12 what options are available to you?

In most cases the option to select is HDD .......  not USB.

Under HDD the device should be visible for selection.

Is this what you are doing? Is the usb device there for selection?

Unless you give exact details of what you are doing we have no idea what is happening .....

so please give step by step details of what you are doing and what options are presented to you, from the moment you apply power to the PC.

We still have no idea if the USB device is even recognised by the BIOS ......  does it show there?
If not then it cannot be booted!

Details are needed to help us help you.
Otherwise this is just a guessing game .....  which becomes frustrating for all.   ;)

regards.

Offline flighty

  • Full Member
  • ***
  • Posts: 131
Re: how do I make a download usable?
« Reply #42 on: January 28, 2011, 04:16:00 PM »
Hi Just19,

I've keying this using PCLinuxOS from my FLASH DRIVE.  I seem to have got it.  I pressed F12 which gives me booting choices, which includes usb-hdd, usb-zip, etc, and tried them again even though I had failed with these many times.  No luck again.

So I went to CMOS utility in the Bios which just listed my hard drive and my dvd recorder.  So I then went to Advanced Bios features and found Hard Disk Boot Priority.  Pressing that listed:  1.  CH2 M.  HDD   2.  USB-HDDO  Kingston Data Traveler.

Bingo!  I changed it so the flash drive is first choice and this has solved the problem.  When I restart the computer I get:  KDE and KDE with Persistence. 

I'm going to stop for the night now as I've just come in and have had a few drinks.  But let me say first that you and the other posters have shown remarkable knowledge and remarkable patience with a bit of a dummy.  I appreciate your kindness.

I'll play with my flash drive over the next couple of days and will post any questions in a new thread.  This one has gone on long enough as I'm sure you will all agree.

Many, many thanks



Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: how do I make a download usable?
« Reply #43 on: January 28, 2011, 05:08:06 PM »
Great news!   ;D

Have another one in celebration   :D

regards.