Author Topic: UNSOLVED - Remaster on usb stick gives "boot error"  (Read 9141 times)

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Remaster on usb stick gives "boot error"
« Reply #45 on: January 31, 2012, 08:59:40 PM »
I have decided that the remaster is at fault so am trying to make a new one.

However it stalls partway through. The hard drive was still flickering so I let it run for over an hour but I think my Pclos2011 is too large.

(The previous one I was trying to do was a Minime and much smaller).

My present system is 15gb in size on a 90gb partition. I've run bleachbit and bleachbit root. I don't have a home partition to exclude. The only other big file I could exclude would be LibreOffice which wouldn't make much difference.

Does this mean I can't, after all, make a remaster and that this whole thread has now become irrevelant. ??? ::) ;D

PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online Crow

  • Hero Member
  • *****
  • Posts: 8768
  • OBJECTS IN MIRROR... ARE LOSING
Re: Remaster on usb stick gives "boot error"
« Reply #46 on: January 31, 2012, 09:15:09 PM »
I never make a separate home partition and I make a remaster from all my installs, you need to exclude your documents, music and all that.
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2436
  • Any Bugs in site?
Re: Remaster on usb stick gives "boot error"
« Reply #47 on: January 31, 2012, 09:53:35 PM »
Maurice

I think it means you have changed course, if your USB stick makes bad files then going to KDE will not help, anyway. I think we need to get some details from your latest try.

First just show us the output of df in root konsole, something like here, and this is not an indication that yours should look the same.

Quote
[root@localhost gert]# df
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              28G  6.8G   20G  26% /
/dev/sdd1             200G   93G   98G  49% /media/USB465-1B
[root@localhost gert]#

Next we will ask Just18 if it is an idea to start your USB making process from konsole   ;D
« Last Edit: January 31, 2012, 11:23:35 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Remaster on usb stick gives "boot error"
« Reply #48 on: January 31, 2012, 10:33:17 PM »
Maurice

I think it means you have changed course, if your USB stick makes bad files then going to KDE will not help, anyway. I think we need to get some details from your latest try.

First just show us the output of df in root konsole, something like here, and this is not an indication that yours should look the same.


Next we will ask Just18 if it is an idea to start your process from konsole   ;D

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              97G   11G   82G  12% /
/dev/sda6             4.9G  183M  4.4G   4% /media/disk
/dev/sda7             3.9G   72M  3.6G   2% /media/disk-1
/dev/sda4              97G  188M   92G   1% /media/disk-2

Pclos is on sda2. It  gives a different Used figure every time I look at it. ???
sda1, 3 and 4 are not showing here. I think I unmounted them earlier.


« Last Edit: January 31, 2012, 10:37:18 PM by Maurice »
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2436
  • Any Bugs in site?
Re: Remaster on usb stick gives "boot error"
« Reply #49 on: January 31, 2012, 11:01:05 PM »
Maurice

Approximately how much does the size increase after each time you look?  Is it after each attempt to make USB setup?  If the used size increases something probably being saved here.

You can try and run this, it will give an idea of where the space is used on /

Quote
[root@localhost gert]# du -sm /* | sort -nr | head -150
..
..

When the list is down to single figures just cut them off but post the 'big ones'   :D

Edit:  I should have said copy/paste  the red bits to konsole and that it may take a minute depends on how big your system

« Last Edit: January 31, 2012, 11:11:10 PM by wedgetail »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Remaster on usb stick gives "boot error"
« Reply #50 on: January 31, 2012, 11:23:24 PM »

I don't have a home partition to exclude.


It may well be true that you have no separate partition for the /home directory. But, you still have a /home/maurice directory. And if you have a lot of large files stored there, and you do not exclude them from the remaster, the iso file you are attempting to create will become too large. Do a trial run without fiddling with any parameters yet.

$ su -
# umount -a
# mylivecd test.iso
# ls -l test.iso
# exit


 First line is su (space) -. Second line is umount (space) -a. You will get an error that / partition cannot be unmounted. That is normal. See what results you get.

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 Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Remaster on usb stick gives "boot error"
« Reply #51 on: February 01, 2012, 01:46:32 AM »


Approximately how much does the size increase after each time you look?  Is it after each attempt to make USB setup?  If the used size increases something probably being saved here.

You can try and run this, it will give an idea of where the space is used on /

Quote
[root@localhost gert]# du -sm /* | sort -nr | head -150

..

I must be mistaken but the last time I checked in Gparted it showed 15gb.

du showed ...

4099    /home
2852    /root
2493    /usr

PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online DeBaas

  • Hero Member
  • *****
  • Posts: 1520
    • PCLinuxOS.nl
Re: Remaster on usb stick gives "boot error"
« Reply #52 on: February 01, 2012, 02:22:00 AM »
@just18
Quote
Quote from: DeBaas on Today at 01:36:21
Today I made a remaster with mylivecd about 1G
I used a new USB 4G and put, wih unetbootin, this iso on stick.
One machine perfect another boot problems.
I find out this problem machine wanted only fat16 as USB boot item (floppy ?)
So I formatted the 4G USB as bootable fat16, unetbootin again and problem solved.
Only, fat16 has a maximum file size.............
Quote
Quote from: just18 on Today at 01:51:03
I came across a 'somewhat' similar problem which was solved by putting a FAT partition first and the Linux OS on the second partition.

I never came across a situation like you have described.

Is it an old machine?  Make/model so I might look out for it, please?
Asrock K7S8XE BIOS P2.20
CPU   - Socket 462, supporting AMD Athlon, Athlon XP, Duron
- FSB 400/333/266/200 MHz
Chipset   - SiS® 748

Got this USB FAT16 boot behaviour on several older mobo's, but it's no problem to format (install from synaptic) with (KDE) partitionmanager or (Gnome) gparted (Not Windows). Do not forget to set the boot flag.

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Remaster on usb stick gives "boot error"
« Reply #53 on: February 01, 2012, 02:28:09 AM »

It may well be true that you have no separate partition for the /home directory. But, you still have a /home/maurice directory. And if you have a lot of large files stored there, and you do not exclude them from the remaster, the iso file you are attempting to create will become too large. Do a trial run without fiddling with any parameters yet.

$ su -
# umount -a
# mylivecd test.iso
# ls -l test.iso
# exit


 

It stalled again whilst compressing files at 8.22% as before. So I couldn't do the ls.

Out of a total of 11gb I have about 4gb in my Home directory. Excluding that would leave 7gb for the iso.Is that still too large?
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Xenaflux

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3834
Re: Remaster on usb stick gives "boot error"
« Reply #54 on: February 01, 2012, 02:37:07 AM »

11 Gb shouldn't be to much in my opinion, but then, I never made a successful remaster, so....can't talk much here  ;D
Just a thought:
1--Move all your data out to another partition
2--clean out your /home/<name>/Tmp

My /home is 303.7 Mb as I always keep my data separate.

try again.......if you still feel fit
« Last Edit: February 01, 2012, 02:40:57 AM by Xenaflux »
The great thing in this world is not so much where we stand,
as in what direction we are moving.
                                                    (Oliver Wendell Holmes )

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Remaster on usb stick gives "boot error"
« Reply #55 on: February 01, 2012, 02:52:56 AM »

11 Gb shouldn't be to much in my opinion, but then, I never made a successful remaster, so....can't talk much here  ;D
Just a thought:
1--Move all your data out to another partition
2--clean out your /home/<name>/Tmp

My /home is 303.7 Mb as I always keep my data separate.

try again.......if you still feel fit

Only just, it's been a long drawn out thread. ;D
But, near enough bed time now so I'm shutting down for a while..........
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10648
  • MLUs Forever!
Re: Remaster on usb stick gives "boot error"
« Reply #56 on: February 01, 2012, 04:32:49 AM »

I suggest that Maurice uses a PCLOS Mini ISO, or any PCLOS ISO he may have on his HDD,  and puts it on the USB stick using LiveUSB Creator.
If that does not work then we know it is not the ISO that is at fault, and can look for the possible cause.

If it does work then the personal remaster can be added to the USB stick .....  a known good & booting USB stick. If the personal remaster fails then we know that it is either the copying process or the ISO that is at fault which brings us right back to where we were much earlier in the thread.

As for the mylivecd process stalling .......  yes it takes a lot of time to compress the amount of data Maurice has in his remaster. Patience is needed  ;)


So, to Maurice ........  set up your USB device with at least one ext partition that is large enough to hold an ISO  (1GB minimum, but much larger needed for larger or multiple installs).
Install, using LiveUSB Creator, some version of PCLOS on the USB device .......  using a known good PCLOS original ISO. Be sure to check the MD5sum of the ISO before using it.

Be sure you know and understand the questions being asked while the script is running. If you don't, ask.
Also be certain you know whether you wish to do a new install or want to Add to an existing install.

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 melodie

  • Hero Member
  • *****
  • Posts: 5942
  • XMMP=Jabber, free instant messaging protocol !
    • PCLinuxOS Fr
Re: Remaster on usb stick gives "boot error"
« Reply #57 on: February 01, 2012, 06:00:13 AM »
Hi,

A personal remaster to be successful needs to have a command line which excludes personal datas as well as the temporary directory and the iso being constructed.

Maurice, here is an exemple, which you could use, from within your directory:

Code: [Select]
mylivecd  --tmp=/home/maurice/tmp --nodir=^/home/maurice/tmp,/home/maurice/Documents --nofile=^/home/maurice/pclinuxos-maurice-some_date.iso
The directory Documents in this example is supposed to contain all your private documents. If you used Bleachbit and Bleachbit root to clean it's fine. Maybe could you also want to remove part or all of the files which are under /usr/share/doc as it can take a lot of space when you have used the distro a long time, installed many programs and done updates many times. You could take a look there, and keep only the docs you want to use (many directories contain only information about the program but no doc at all anyway).

If you move all personal files into one directory only (let's say "Documents") and look how large it takes, can you say how much will be left to compress ? Once all in "Documents", you can type "du -csh Documents" to get the human readable size of the directory.

melodie at swissjabber dot ch - IRC #pclinuxos-fr sur freenode

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Remaster on usb stick gives "boot error"
« Reply #58 on: February 01, 2012, 03:23:00 PM »

I suggest that Maurice uses a PCLOS Mini ISO, or any PCLOS ISO he may have on his HDD,  and puts it on the USB stick using LiveUSB Creator.
If that does not work then we know it is not the ISO that is at fault, and can look for the possible cause.


+1
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 Maurice

  • Hero Member
  • *****
  • Posts: 1128
Re: Remaster on usb stick gives "boot error"
« Reply #59 on: February 01, 2012, 04:34:09 PM »
I won't attempt to quote the replies - they're rather overwhelming  ;D - but many thanks for them all.

I have an lxde iso and tried that but no go. I  will take Just18's suggestion and download a Minime.iso, install it, add Firefox and a few personal files, then try to make a remaster. This will take some time as I have to catch up on things which have been neglected for the past days so I may be quiescent for a while. But, rest assured, as your General McArthur famously said, "I shall return"

Maurice
« Last Edit: February 01, 2012, 04:36:03 PM by Maurice »
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell