PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 09:22:45 AM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: Mylivecd and /home (solved )  (Read 1736 times)
pclinmike
Hero Member
*****
Offline Offline

Posts: 508


I Only 'Clean' Windows !.


« on: June 12, 2011, 12:13:11 PM »

1...
If I put in a terminal.

[root@localhost myname]# mylivecd --nodir=^/home kitchen1262011.iso

What i'm trying to tell it is I do not want it to copy home and call the iso 'kitchen' (the computer that's in the kitchen ) with the date 12 6 2011

Is the above correct ?

2...
Next in this 'http://www.pclinuxos.com/forum/index.php/topic,74418.15.html' post #29 it says "Well I don't think that iso will be usable without a /home"

This has got me confused, if I use the above command mylivecd --nodir=^/home   does it just make a blank (empty)  /home    so it can be used later ?, or does it leave it out all together ?.
Logged

Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #1 on: June 12, 2011, 05:00:26 PM »

1...
If I put in a terminal.

[root@localhost myname]# mylivecd --nodir=^/home kitchen1262011.iso

What i'm trying to tell it is I do not want it to copy home and call the iso 'kitchen' (the computer that's in the kitchen ) with the date 12 6 2011

Is the above correct ?

Assuming your username is pclinmike , the correct command would be mylivecd --nodir=^/home/pclinmike kitchen1262011.iso

This has got me confused, if I use the above command mylivecd --nodir=^/home   does it just make a blank (empty)  /home    so it can be used later ?, or does it leave it out all together ?.

It leaves it out altogether.
Logged

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
pclinmike
Hero Member
*****
Offline Offline

Posts: 508


I Only 'Clean' Windows !.


« Reply #2 on: June 12, 2011, 06:47:37 PM »

Thanks for the info.

What I was thinking was by using command 'mylivecd --nodir=^/home kitchen1262011.iso'       
was that I have a copy of /home containing three users on a separate backup HD, so I did not want to include them in the mylivecd.iso.

So is it better to use     mylivecd --nodir=^/home/pclinmike,/home/user2,/home/user3 kitchen1262011.iso

or is this not the correct approach ?.

My goal is to make a copy of the family used computer and burn it to a DVD, also the /home is backed up to a USB caddy hard drive.
Logged

Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #3 on: June 12, 2011, 07:01:46 PM »

So is it better to use     mylivecd --nodir=^/home/pclinmike,/home/user2,/home/user3 kitchen1262011.iso

You got it. That is correct, except for missing characters.Do:

mylivecd --nodir=^/home/pclinmike,^/home/user2,^/home/user3 kitchen1262011.iso

If you want a media check option on the live CD boot menu, then do:

mylivecd --md5sum --nodir=^/home/pclinmike,^/home/user2,^/home/user3 kitchen1262011.iso
Logged

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
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #4 on: June 12, 2011, 07:02:32 PM »

Create a user guest. Guest's /home will be included on your ISO. After install, guest is removed on first boot.
Logged

pclinmike
Hero Member
*****
Offline Offline

Posts: 508


I Only 'Clean' Windows !.


« Reply #5 on: June 12, 2011, 07:07:15 PM »

Create a user guest. Guest's /home will be included on your ISO. After install, guest is removed on first boot.

That's an idea, or user4 and have it has another unused user. Good thinking.
Thanks both  Grin

Logged

Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #6 on: June 12, 2011, 07:10:00 PM »

That's an idea, or user4 and have it has another unused user. Good thinking.

Only, that should be user guest, as Neal suggested. It will be removed as part of the normal HD installation process.

Logged

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
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4633


MLUs Forever!


« Reply #7 on: June 12, 2011, 07:15:50 PM »

Quote
mylivecd --nodir=^/home/pclinmike,^/home/user2,^/home/user3 kitchen1262011.iso

Not now applicable, but if all users are to be omitted, could the above not be be written

mylivecd   --nodir=^/home/   kitchen1262011.iso
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #8 on: June 12, 2011, 07:19:45 PM »

Quote
mylivecd --nodir=^/home/pclinmike,^/home/user2,^/home/user3 kitchen1262011.iso

Not now applicable, but if all users are to be omitted, could the above not be be written

mylivecd   --nodir=^/home/   kitchen1262011.iso

That might work, but I don't want to dig through the mylivecd script again. I'll bet Texstar has it almost memorized by now. He'd probably know, right off the top of his head.
Logged

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
Neal ManBear
Administrator
Super Villain
*****
Offline Offline

Posts: 15203


LXDE! Coffee, Bacon and Cheesecake!


« Reply #9 on: June 12, 2011, 07:28:25 PM »

Quote
mylivecd --nodir=^/home/pclinmike,^/home/user2,^/home/user3 kitchen1262011.iso

Not now applicable, but if all users are to be omitted, could the above not be be written

mylivecd   --nodir=^/home/   kitchen1262011.iso

I don't think so, as no /home would be added to the ISO, unlless the option to include /home/guest were used.
Logged

Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4633


MLUs Forever!


« Reply #10 on: June 13, 2011, 04:11:47 AM »

Quote
mylivecd --nodir=^/home/pclinmike,^/home/user2,^/home/user3 kitchen1262011.iso

Not now applicable, but if all users are to be omitted, could the above not be be written

mylivecd   --nodir=^/home/   kitchen1262011.iso

I don't think so, as no /home would be added to the ISO, unlless the option to include /home/guest were used.

The "/home" directory would still be present, but all of its contents would not be remastered.
The only account to log in with would - I think - be root.
Using   --nodir=^/home   would drop the /home  directory itself (and its contents).

There is also a question about what details remain aboul the accounts that are not remastered.
Do they still show in PCC .......  user accounts etc?  I suspect they do ......  which might throw UIDs off a bit ....   it has been a while since I delved into this, so things may have changed in the interim.

regards 
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
pclinmike
Hero Member
*****
Offline Offline

Posts: 508


I Only 'Clean' Windows !.


« Reply #11 on: June 13, 2011, 04:12:21 PM »

Well my first DVD (after three re-burns) said it was ok, upon booting it, I got to a single user login, so I logged into root and tried 'startx' came up with "input/output" error.
It would not load.

I'm trying a second mylivecd but it's taking so long 6hrs and still not done (the last one took 4hrs 45Min and was 3GiG.), on this one I have used '--md5sum' Does this increase the copying time alot ?.
Logged

Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4633


MLUs Forever!


« Reply #12 on: June 13, 2011, 05:04:09 PM »

Well my first DVD (after three re-burns) said it was ok, upon booting it, I got to a single user login, so I logged into root and tried 'startx' came up with "input/output" error.
It would not load.

I'm trying a second mylivecd but it's taking so long 6hrs and still not done (the last one took 4hrs 45Min and was 3GiG.), on this one I have used '--md5sum' Does this increase the copying time alot ?.


As far as I recollect the MD5sum is calculated and inserted at the end of the ISO creation.

You could try a different compression .....  --gzip is less intense and faster, although producing a larger ISO.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5710


I don't do Windows


« Reply #13 on: June 13, 2011, 05:56:39 PM »

pclinmike,

Did you upgrade to a newer kernel, or are you using the original one installed? If you have the original kernel installed, you'll need to use the --lzma option. If you upgrade to one of the newer kernels, you'll get xz compression by default. It makes for a smaller iso.



Logged

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
pclinmike
Hero Member
*****
Offline Offline

Posts: 508


I Only 'Clean' Windows !.


« Reply #14 on: June 13, 2011, 06:54:55 PM »

pclinmike,

Did you upgrade to a newer kernel, or are you using the original one installed? If you have the original kernel installed, you'll need to use the --lzma option. If you upgrade to one of the newer kernels, you'll get xz compression by default. It makes for a smaller iso.


me@localhost ~]$ uname -r
2.6.38.7-pclos1.bfs 

Updated after the xorg update.


The second mylivecd failed with "could not Ls kitchen1262011.iso" could not open directory no such file.

I have gone to /usr/sbin/tmp  and saved the files can I do anything with them to make an iso file ?.
Simply renaming the livecd file .iso is not good enough !.
Logged

Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM