Re: Using Debian Live

2007-10-11 Thread Ben Armstrong
John,

On Thu, 11 Oct 2007 10:23:32 -0400
John Lauterbach [EMAIL PROTECTED] wrote:
 There appears to be either a lack of pointers to information or the 
 information needed to use Debian Live to help repair a system that will not 
 boot on account of a repairable hard drive error.  In particular, I would 
 like to run fsck on /dev/hda1 (or whatever it is called under Debian Live).  
 Attempts to do that as well as similar activities on existing hard drives 
 seem to result in less than common error messages.

What exact commands did you attempt and what are the actual error messages?

Debian Live does nothing special with regards to naming devices.  You might
be seeing differences due to different drivers from different kernels,
though (e.g. sata drives could be named /dev/hda, /dev/hdb, etc. or /dev/sda,
/dev/sdb, etc. depending on which driver is used).  But this is a general
Linux question, not a Debian Live specific one.  That is why we have no doc
for it.

That being said, anybody can start a tutorial on how to use Debian Live for
common rescue jobs on our wiki if they wish.

Regards,
Ben
--
 ,-.  nSLUGhttp://www.nslug.ns.ca   [EMAIL PROTECTED]
 \`'  Debian   http://www.debian.org[EMAIL PROTECTED]
  `  [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
 [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]

___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: Using Debian Live

2007-10-11 Thread Justin Pryzby
On Thu, Oct 11, 2007 at 10:23:32AM -0400, John Lauterbach wrote:
 To Whom It May Concern:
 
 There appears to be either a lack of pointers to information or the 
 information needed to use Debian Live to help repair a system that will not 
 boot on account of a repairable hard drive error.  In particular, I would 
 like to run fsck on /dev/hda1 (or whatever it is called under Debian Live).  
 Attempts to do that as well as similar activities on existing hard drives 
 seem to result in less than common error messages.
 
 Perhaps you can clarify the situation.
What error messages?

___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Using Debian Live

2007-10-11 Thread John Lauterbach
To Whom It May Concern:

There appears to be either a lack of pointers to information or the information 
needed to use Debian Live to help repair a system that will not boot on account 
of a repairable hard drive error.  In particular, I would like to run fsck on 
/dev/hda1 (or whatever it is called under Debian Live).  Attempts to do that as 
well as similar activities on existing hard drives seem to result in less than 
common error messages.

Perhaps you can clarify the situation.

Best regards,

John

John H. Lauterbach, Ph.D., DABT

211 Old Club Court
Macon, GA 31210-4708


Tel.   478-474-3027
Fax   478-474-0117
Cell   478-731-2966___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Re: Using Debian Live

2007-10-11 Thread Tony Godshall
There's really nothing Debian-Live specific to do.  Just use the standard tools.

The documents at tldp.org are probably your best bet- there's probably
no changes in how to repair ext2/3 filesystems since sarge.

I don't know what the big picture is of what you are trying to
accomplish but if it was me, I'd mount with '-o ro', rsync or tar off
the important stuff, and reinstall.

Fsck can repair a lot of stuff but to me a corrupt root inode is
indication that there's probably been a lot of corruption and I
wouldn't even bother trying to fix the partition.

Oh, and before you trust this drive for your data again, make sure you
test every sector, e.g. mkfs.ext3 -j -c -c  (it's destructive, so
don't skip ahead to this step!)

Tony


On 10/11/07, John Lauterbach [EMAIL PROTECTED] wrote:
 You are right.  My error.  Things worked right after I rebooted from CD-ROM;
 maybe loose nut at wheel.  Bad news was that I could not boot from hard
 drive because of a corrupt root inode as found by ext2fsck.

 This brings more opportunity.  How do I fix this problem with Debian Live,
 OR are things so bad that I need to reformat hard drive again.

 I would be glad to write help pages for you, but I don't know what I am
 doing.

 John


 - Original Message -
 From: Tony Godshall [EMAIL PROTECTED]
 To: John Lauterbach [EMAIL PROTECTED]
 Cc: debian-live-devel@lists.alioth.debian.org
 Sent: Thursday, October 11, 2007 12:56 PM
 Subject: Re: Using Debian Live


  On 10/11/07, John Lauterbach [EMAIL PROTECTED] wrote:
 
 
  To Whom It May Concern:
 
  There appears to be either a lack of pointers to information or the
  information needed to use Debian Live to help repair a system that will
  not
  boot on account of a repairable hard drive error.  In particular, I would
  like to run fsck on /dev/hda1 (or whatever it is called under Debian
  Live).
  Attempts to do that as well as similar activities on existing hard drives
  seem to result in less than common error messages.
 
  Perhaps you can clarify the situation.
 
  Perhaps you can clarify the errors.
 
  I've had no such experiences.




-- 
Best Regards.
Please keep in touch.

___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: apt-cacher and debian-live --debian-installer enabled (Re: d-l and installer, woes)

2007-10-11 Thread Justin Pryzby
On Tue, Oct 09, 2007 at 01:29:59PM -0400, Justin Pryzby wrote:
 On Fri, Oct 05, 2007 at 05:56:22PM +0100, Mark Hindley wrote:
  I have just uploaded apt-cacher 1.5.5 which should allow proxying of
  vmlinuz and initrd files, as requested for Debian Live. I would be
  grateful if you could give it a try and confirm it works as you expect.
 Hi Mark,
 
 I haven't checked yet.  I just tried and found that d-l was broken, so
I can confirm that the new apt-cacher allows building an image with
--debian-installer enabled.  Thanks Mark.

Justin

___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


d-l loose ends in my understanding

2007-10-11 Thread Justin Pryzby
Hi All,

There's some thing I've never understood about d-l and don't recall
seeing documentation for them either.  Having dabled in the source I'm
still not sure what they're intended to do.

What are all the LH_CACHE* options for?  When are they intended to
help?

Are the .stage/* files supposed to be removed manually to cause things
to be rebuilt or just munged by the various {,sub{,sub,{sub}}}tools
and lh_clean?

When are the various lh_clean arguments supposed to be useful?

What does binary mean (vs. chroot)?  Is this the entire ISO vs.
the squashFS?

What is the plan for error handling?  I don't even know what's causing
errors to be ignored right now but it seems to be a known and
acknowledged problem.

Justin

___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Cannot build USB image

2007-10-11 Thread eno
Hi guys,

I'm running lh on the current Ubuntu beta. I'm trying to build an USB image.

This is what I do:

  mkdir usblive
  cd usblive/
  lh_config -b usb-hdd
  lh_build

This takes a while installing and downloading and you know what... After
that I have an image in ./chroot (which is strange because the ISO
building process puts the image directly into ./ )

  ls -l chroot/binary.img

-- -rw-r--r-- 1 root root 95420416 2007-10-11 23:31 chroot/binary.img

However, that image seems to have no content at all:

  mkdir /mnt/test
  mount -o loop,offset=512 chroot/binary.img /mnt/test/
  ls -l /mnt/test/

-- insgesamt 0


 If
a
specify
the
grub
bootloader
the
image
has
content
but
doesn't
boot
(obviously,
because
grub
cannot
boot
of
an
USB
stick)

As I am currently preparing an article for a german magazine on creating
USB boot images using live-helper any help would greatly appreciated.

Thank you,
/eno


___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Bug#446306: d-l aufs selects unionfs-modules

2007-10-11 Thread Justin Pryzby
Package: live-helper
Version: 1.0~a31-1

lh_config --union-filesystem aufs initializes LH_LINUX_PACKAGES to
unionfs-modules.




___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: Cannot build USB image

2007-10-11 Thread Daniel Baumann
[EMAIL PROTECTED] wrote:
 I'm running lh on the current Ubuntu beta. I'm trying to build an USB image.

don't use live-helper from ubuntu, it's not maintained there and thus
outdated.

please install the version from sid (it's just shell scripts, no
depends, can be installed without any trouble on ubuntu).

 This takes a while installing and downloading and you know what... After
 that I have an image in ./chroot (which is strange because the ISO
 building process puts the image directly into ./ )
 
   ls -l chroot/binary.img

that's not strange, that's normal.. the build is chrooted in order to
use the toolchain from the distribution we are building.

 However, that image seems to have no content at all:

your build-process seem to have stopped, you need to give more
information (such as the last messages on the screen before it fails).

 a specify the grub bootloader the image has content but doesn't boot
 (obviously, because grub cannot boot of an USB stick)

the automatic creation of usb images with grub is currently not
supported, use syslinux.

 As I am currently preparing an article for a german magazine on creating
 USB boot images using live-helper any help would greatly appreciated.

which one that is?

have you read this one?
http://www.linuxmagazin.de/online_artikel/workshop_debian_live_system_mit_etch

-- 
Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:  [EMAIL PROTECTED]
Internet:   http://people.panthera-systems.net/~daniel-baumann/

___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel


Re: Bug#446306: d-l aufs selects unionfs-modules

2007-10-11 Thread Peter Skogström
Justin Pryzby wrote:
 Package: live-helper
 Version: 1.0~a31-1
 
 lh_config --union-filesystem aufs initializes LH_LINUX_PACKAGES to
 unionfs-modules.
 
 

Doh! Sending this to the list also (already sent to the bugnumber)

I had this problem too, in 1.0~a30, but I didnt see it as a bug rather
as something that can be misunderstood.
The --union-filesystem  LH_UNION_FILESYSTEM) is as I have understood it
only the kernel arg and LH_LINUX_PACKAGES is something that you have to
set separately. When you do that (changes unionfs-modules-2.6 to
aufs-modules-2.6) it works. See an earlier mailthread last week.

But as soon as unionfs-modules is available for sid (its not there now,
but if I recall correctly it soon should be), that default will work out
of the box.

It says that LH_LINUX_PACKAGES default should be autodetected though, Im
not sure what that means here. Maybe someone can explain that.

regards
//Peter
-- 

bitrunner

0708-460260
Andra Långgatan 28
41327 Göteborg
Sweden


___
debian-live-devel mailing list
debian-live-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel