Re: "cryptsetup luksOpen /dev/sdb1 lin-bak", but it disappears after I reboot

2012-07-29 Thread Todd And Margo Chester

On Sun, Jul 29, 2012 at 7:37 PM, Todd And Margo Chester
mailto:toddandma...@gmail.com>> wrote:

Hi All,

I can set up "/dev/mapper/lin-bak" with

 # cryptsetup luksOpen /dev/sdb1 lin-bak

but it disappears after I reboot. This messes up my
crypttab/fstab. Any idea what I am doing wrong?

Many thanks,
-T



On 07/29/2012 06:15 PM, Tam Nguyen wrote:> Hi Todd,
> Did you create a file journal (mkfs...) after you executed the command?:
>
>   # cryptsetup luksOpen /dev/sdb1 lin-bak
>
>
> Basic steps are:
> 1) cryptsetup luksFormat /dev/xyz
> 2) cryptsetup luksOpen /dev/xyz  abc   <---then verify it in /dev/mapper
> 3) mkfs.ext4 /dev/mapper/abc <--- i like to use ext4.  Do research
> on this journal if you're not clear.
> Now that we got it settled.  Come the fun part- automounting:
> 4) configure your /etc/fstab
> 5) then configure your /etc/crypttab
> Before you reboot your machine, do a tested mount:
>  >mount -a
>
> -Tam
>


Yes, did all that.   I can mount too.  But, when I reboot,
lin-bak disappears from /var/mapper.   AAA!

-T


Re: "cryptsetup luksOpen /dev/sdb1 lin-bak", but it disappears after I reboot

2012-07-29 Thread Tam Nguyen
Todd,
Before you run mkfs, understand that your device sdb1 will be
formatted(all previous data will be gone).  So be VERY CAREFUL with mkfs



On Sun, Jul 29, 2012 at 7:37 PM, Todd And Margo Chester <
toddandma...@gmail.com> wrote:

> Hi All,
>
> I can set up "/dev/mapper/lin-bak" with
>
> # cryptsetup luksOpen /dev/sdb1 lin-bak
>
> but it disappears after I reboot. This messes up my
> crypttab/fstab. Any idea what I am doing wrong?
>
> Many thanks,
> -T
>


Re: "cryptsetup luksOpen /dev/sdb1 lin-bak", but it disappears after I reboot

2012-07-29 Thread Tam Nguyen
Hi Todd,
Did you create a file journal (mkfs...) after you executed the command?:

>  # cryptsetup luksOpen /dev/sdb1 lin-bak


Basic steps are:
1) cryptsetup luksFormat /dev/xyz
2) cryptsetup luksOpen /dev/xyz  abc   <---then verify it in /dev/mapper
3) mkfs.ext4 /dev/mapper/abc <--- i like to use ext4.  Do research on
this journal if you're not clear.
Now that we got it settled.  Come the fun part- automounting:
4) configure your /etc/fstab

5) then configure your /etc/crypttab

Before you reboot your machine, do a tested mount:
>mount -a

-Tam

On Sun, Jul 29, 2012 at 7:37 PM, Todd And Margo Chester <
toddandma...@gmail.com> wrote:

> Hi All,
>
> I can set up "/dev/mapper/lin-bak" with
>
> # cryptsetup luksOpen /dev/sdb1 lin-bak
>
> but it disappears after I reboot. This messes up my
> crypttab/fstab. Any idea what I am doing wrong?
>
> Many thanks,
> -T
>


"cryptsetup luksOpen /dev/sdb1 lin-bak", but it disappears after I reboot

2012-07-29 Thread Todd And Margo Chester

Hi All,

I can set up "/dev/mapper/lin-bak" with

# cryptsetup luksOpen /dev/sdb1 lin-bak

but it disappears after I reboot. This messes up my
crypttab/fstab. Any idea what I am doing wrong?

Many thanks,
-T


How can I reuse my LUKS password at boot?

2012-07-29 Thread Todd And Margo Chester

Hi All,

I now have two encrypted hard drives.  The second one is my
backup drive.  Both have the same password.

When I boot up, I get prompted twice for each drive.  My
password is rather long and it is a bit annoying to have to
put it in twice, let alone once.

Is there a way get LUKS to automatically reuse my password
from the first drive on the second drive at boot?

Many thanks,
-T



Ooops.  /etc/crypttab fix the problem.


Re: LUKS and fstab question

2012-07-29 Thread Todd And Margo Chester

On Sun, Jul 29, 2012 at 12:30 AM, Todd And Margo Chester
mailto:toddandma...@gmail.com>> wrote:

On Sat, Jul 28, 2012 at 9:40 PM, Todd And Margo Chester
mailto:toddandma...@gmail.com>
__>> wrote:

 Hi All,

 Xfce 4.8
 Scientific Linux 6.2, 64 bit

 I have just encrypted my backup drive.  Is there anyway
 to get it into my fstab?

 Problem is rebooting removed the label I created in
 /dev/mapper with

   # cryptsetup luksOpen /dev/sdb1 lin-bak

 and in fstab, I can add:
/dev/mapper/lin-bak  /lin-bak  ext4  defaults  1 0

 But "/dev/mapper/lin-bak" vanishes on me after a reboot.

 I can double click on the icon on my desktop and
 it will mount in "/media/lin-bak".  But this plays
 havoc on my scripts.  Gives me a long funny name
 in /dev/mapper too, which disappears when you
 dismount.

 Be nice to be able to get the drive into my fstab.
 If not, how do I mount it from the command line?

 If I try to mount directly, I get

   # mount  /dev/sdb1  /lin-bak
   mount: unknown filesystem type 'crypto_LUKS'

 Perplexed,
 -T



On 07/28/2012 07:31 PM, Tam Nguyen wrote:> You need to map it in the
file /etc/crypttab.

 >
 > You want to configure your /etc/crypttab file to look like this:
 > lin-bak /dev/sdb1
 >

Ah ha!  Thank you!

In /etc/crypttab, how do you handle passwords with spaces in
them?  I think it gags on quote marks.

-T




On 07/28/2012 09:46 PM, Tam Nguyen wrote:> I haven't tested it with 
password that contains space.  Try escape with

> back slash key( \ ).
>
>
>


Hi Tam,

With both quotes and backslashes, I get "key file missing".  So
I switched to a keyfile.

Now I get: special device /dev/mapper/lin-bak does not exist.

I can create /dev/mapper/lin-bak with
   cryptsetup luksOpen /dev/sdb1 lin-bak

but /dev/mapper/lin-bak disappears after I reboot.

Any ideas what I am doing wrong?

-T


Re: GPU Cluster

2012-07-29 Thread ~Stack~
On 07/29/2012 11:02 AM, "Javier R. Villazón Terrazas" wrote:
> I want to use SL in order to make a GPU Cluster, Anyone know
> some tips for do this

I wish I had a GPU enabled cluster but at this time, I only have one
node that has a CUDA capable GPU. I just configured a queue for it to
separate it from the other compute nodes. I have a SL6.2 base. I use
Torque [1] for the hardware resource manager and Maui [2] for the job
manager.

[1]
http://www.adaptivecomputing.com/support/download-center/torque-download/

[2] http://www.adaptivecomputing.com/products/open-source/maui/
Maui is Open Source and free, but you do have to register for an account
to download it. They push their paid-for product Moab pretty hard and
kinda obfuscate the links for Maui sometimes. However, I prefer Maui for
the work I am doing over other Open Source projects like Oracle/Sun Grid
Engine. Personal preference.

If you have any questions, let me know. I don't know everything about
Torque/Maui but I have a bunch of documentation that I wrote to ensure I
can manage my resources properly (I have some strange software combos I
have to support). Maybe some of it might help. :)

~Stack~
RHCE



signature.asc
Description: OpenPGP digital signature


GPU Cluster

2012-07-29 Thread Javier R. Villazón Terrazas

Hi All,

I want to use SL in order to make a GPU Cluster, Anyone know 
some tips for do this



best,

   Javier


Re: BlueGriffon

2012-07-29 Thread Nux!

On 25.07.2012 22:44, Yasha Karant wrote:

Does anyone have a working SL 6 port of BlueGriffon:  Most recent
stable version:
v 1.5.2 "Perluète Culbutée" 25-may-2012?

I have tried bluegriffon-1.5.2-1.fc16.i686.rpm . Although the RPM
successfully installed,
when I attempt to execute the application I get:

/usr/lib/bluegriffon/bluegriffon
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc:76: error: unexpected
identifier `colorize_scrollbar', expected character `}'
Gtk-Message: Failed to load module "pk-gtk-module":
libpk-gtk-module.so: cannot open shared object file: No such file or
directory
Gtk-Message: Failed to load module "canberra-gtk-module":
libcanberra-gtk-module.so: cannot open shared object file: No such
file or directory
/usr/lib/bluegriffon/bluegriffon-bin: symbol lookup error:
/usr/lib/bluegriffon/libxul.so: undefined symbol:
gtk_widget_set_realized

My currently running BlueGriffon is version 1.1.1 .

Base environment is SL 6x X86-64 with IA-32 application support 
enabled.


Yasha Karant


This might be one of those times when it's good to contact the author 
for more generic builds (why do they still provide 32 bit only??? who is 
still using 32 bit?) that would run wherever Firefox builds run.
Also it's interesting that I can't actually find the source code. Looks 
dodgy to me.



--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


TexLive tlmgr under SL 6.1.

2012-07-29 Thread Malcolm MacCallum
tlmgr seems not to be present in the SL 6.1 TexLive RPMs so
one cannot carry out the TeXlive manual instructions
on how to mainatin the system.

Malcolm


Gnome sessions startup in SL 6.1

2012-07-29 Thread Malcolm MacCallum
Unlike the Gnome under the older version of SL I was using (5.2), the
6.1 version does not appear to preserve information about which
applications run in which workspace and restore it. It does preserve the
applications themselves but all start up in Workspace 1. I think this
should be under the "Sessions preference tool" according to section
3.3. of the Gnome Desktop Manual, but I cannot find any such tool

Malcolm