SCIENTIFIC-LINUX-USERS Archives

March 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
William Shu <[log in to unmask]>
Reply To:
William Shu <[log in to unmask]>
Date:
Thu, 17 Mar 2011 12:56:39 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (96 lines)
Dear Urs,

What I obtained is below. Unfortunately, a bit mobile now, I have only the USB stick to work on SL6 and so cannot un-install it as such; but I had no complaints!

I recall when installing SL6 on the USB that I had warning about its label (made up of some control-character sequence, starting, I think, with ^17). Since installation was complete, and in prior attempts the label was changed, I did not think it was a problem. Now, I'm not so sure!

Regards,

William.

[sluser@livecd ~]$ su
[root@livecd sluser]# dir /LiveOS/overlay--4C04-9372
dir: cannot access /LiveOS/overlay--4C04-9372: No such file or directory
[root@livecd sluser]# dir /LiveOS/overlay--4C04-9372
[root@livecd sluser]# find / -iname "*4C04-9372*" -print
/dev/disk/by-uuid/4C04-9372
/dev/.udev/links/disk\x2fby-uuid\x2f4C04-9372
[root@livecd sluser]# mkdir /overlayfs
[root@livecd sluser]# mount -n -t auto UUID=4C04-9372 /overlayfs
[root@livecd sluser]# [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w /overlayfs/LiveOS/overlay--4C04-9372 ] && echo ok
[root@livecd sluser]# dir /overlayfs/
boot/     EFI/      LiveOS/   syslinux/ 
[root@livecd sluser]# dir /overlayfs/LiveOS/
home.img      osmin.img     squashfs.img  
[root@livecd sluser]# 

William

--- On Thu, 3/17/11, Urs Beyerle <[log in to unmask]> wrote:

> From: Urs Beyerle <[log in to unmask]>
> Subject: Re: Persistent Data in SL LiveDVD on USB
> To: "William Shu" <[log in to unmask]>
> Cc: [log in to unmask]
> Date: Thursday, March 17, 2011, 10:00 AM
> Hi William
> 
> On 03/17/2011 06:15 AM, William Shu wrote:
> > Thank you very much Urs.
> >
> > Below are the requested outputs: (A) for losetup; and
> (B) for dracut. It seems the overlay is not being found!
> >
> > On a related matter, you say livecd-tools and
> liveusb-creator are part of the live iso's, but I had to
> "yum install" them before I could use them in making the
> USB!
> >
> 
> Thanks for the debug info.
> 
> You are right. liveusb-creator is not part of Live iso's.
> But livecd-tools and therefore livecd-iso-to-disk should be
> 
> installed. However, doing "yum update livecd-tools" is
> always a good idea.
> 
> Yes, the overlay is not found in your case:
> 
> dracut: + mkdir /overlayfs
> dracut: + mount -n -t auto UUID=4C04-9372 /overlayfs
> dracut: + [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w
> /overlayfs/LiveOS/overlay--4C04-9372 ]
> dracut: + umount -l /overlayfs
> dracut: + [ -z  ]
> dracut: + [ -n UUID=4C04-9372 -a -n
> /LiveOS/overlay--4C04-9372 ]
> dracut: + warn Unable to find persistent overlay; using
> temporary
> 
> Can you quickly check, if the overlay file is on your Live
> USB drive and if it is writable (w)? In your case the
> overlay 
> file should be
> 
> /LiveOS/overlay--4C04-9372
> 
> You might want to reproduce the mounting of your USB stick
> (as done be dracut) on a SL6 system. Plugin the stick. If it
> 
> gets auto-mounted, un-mount it. As root try
> 
> mkdir /overlayfs
> mount -n -t auto UUID=4C04-9372 /overlayfs
> [ -f /overlayfs/LiveOS/overlay--4C04-9372 -a -w
> /overlayfs/LiveOS/overlay--4C04-9372 ] && echo ok
> 
> 
> Cheers,
> 
>     Urs
> 


      

ATOM RSS1 RSS2