Re: live and learn

2010-06-12 Thread Bruce Dubbs
Simon Geard wrote: On Fri, 2010-06-11 at 13:16 -0500, Mike McCarty wrote: Use a red colored prompt when running with root authorization. Oh yes, I can't agree with that one enough. Not that you want to accidentally run rm -rf ~ as *any* user, I run 'rm *~' often enough. I am always

Re: live and learn

2010-06-11 Thread Simon Geard
On Thu, 2010-06-10 at 03:55 -0500, Mike McCarty wrote: Simon Geard wrote: I quite like an idea Fedora are working on - if installed to a btrfs partition, use it's snapshot support to provide an easy rollback option when installing updates. I've been meaning to try that approach myself,

Re: live and learn

2010-06-11 Thread piper.guy1
Thanks for all your tips, advice, lectures, opinions, etc. Very positive community. I think I'm going to enjoy my LFS experience. I can definitely say that despite the obvious lesson for me here (think before [Enter]), mistakes aren't necessarily a completely negative thing, as you can learn a

Re: live and learn

2010-06-11 Thread Mike McCarty
piper.guy1 wrote: Thanks for all your tips, advice, lectures, opinions, etc. Very positive community. I think I'm going to enjoy my LFS experience. I That's one thing I really like here, unlike the user support lists for standard distros, which are full of bickering and posturing. [...] Now

Re: live and learn

2010-06-11 Thread Neal Murphy
On Friday 11 June 2010 14:16:24 Mike McCarty wrote: Hope you keep learning for a long time. Mike To misquote a fictional character, Learn long and prosper. Same thing, really. :) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html

Re: live and learn

2010-06-11 Thread Aleksandar Kuktin
On Fri, 11 Jun 2010 13:16:24 -0500 Mike McCarty mike.mcca...@sbcglobal.net wrote: Use a red colored prompt when running with root authorization. Hope you keep learning for a long time. Mike See, this is a good point. :) I should fix this on my system. -AKuktin --

Re: live and learn

2010-06-11 Thread Bruce Dubbs
Aleksandar Kuktin wrote: On Fri, 11 Jun 2010 13:16:24 -0500 Mike McCarty mike.mcca...@sbcglobal.net wrote: Use a red colored prompt when running with root authorization. Hope you keep learning for a long time. Mike See, this is a good point. :) I should fix this on my system. You

Re: live and learn

2010-06-11 Thread Simon Geard
On Fri, 2010-06-11 at 13:16 -0500, Mike McCarty wrote: Use a red colored prompt when running with root authorization. Oh yes, I can't agree with that one enough. Not that you want to accidentally run rm -rf ~ as *any* user, but the red root prompt is a useful reminder that you're playing with a

Re: live and learn

2010-06-10 Thread Simon Geard
On Wed, 2010-06-09 at 12:00 -0400, linux fan wrote: Speaking of backups and rescue disks, I am using an rsync snapshots style of backup. It does not compress, yet it can save multiple copies of a system at different points in time using remarkable little disk space. Any copy can be rsynced to

Re: live and learn

2010-06-10 Thread Mike McCarty
Simon Geard wrote: I quite like an idea Fedora are working on - if installed to a btrfs partition, use it's snapshot support to provide an easy rollback option when installing updates. I've been meaning to try that approach myself, since I've trashed more than a few systems while trying to

Re: live and learn

2010-06-09 Thread Mike McCarty
Andrew Benton wrote: On 08/06/10 21:54, Mike McCarty wrote: piper.guy1 wrote: Sooo...before I do something else that I'm not suppose to do, I thought I'd get advise first. My thinking is that I need to get a Linux rescue or recovery CD, mount the file system on the hard drive, and then add a

Re: live and learn

2010-06-09 Thread Mike McCarty
Bruce Dubbs wrote: Mike McCarty wrote: Yeah, deleting the link without changing your /etc/passwd entry to point to a valid shell would do that. Changing the /etc/password file won't do much. The bootscripts need /bin/sh. I'm talking about his host, not LFS. I have no idea what his boot

Re: live and learn

2010-06-09 Thread Mike McCarty
Neal Murphy wrote: [...] mid-nineties. And just a couple weeks ago, I overwrote a disk that contained half of a couple striped MD filesystems. Lost nearly 10 years of pics and history. Another time, while redesigning the Smoothwall build system, I Of course, you've got it all on backup.

Re: live and learn

2010-06-09 Thread Mike McCarty
Neal Murphy wrote: [...] But you are right. I had no backups and no excuses. I have an empty 400GB drive that would have held most of that data. And there's no reason I could not have saved all the pics to DVDs. I didn't. I lost. Oh, well. No one died, and no critters or humans were

Re: live and learn

2010-06-09 Thread Theron Stanford
On Tue, Jun 8, 2010 at 11:45 PM, Mike McCarty mike.mcca...@sbcglobal.net wrote: Neal Murphy wrote: A possible future enhancement to 'the book' might be to incorporate checkboxes that a newbie would check off as she performs each step. Extra work? Yes. But worth it to make each step clearer?

Re: live and learn

2010-06-09 Thread linux fan
On 6/8/10, Neal Murphy neal.p.mur...@alum.wpi.edu wrote: ... You'll learn to pause before hitting ENTER. I learned that lesson very quickly. It is extremely important. My system wouldn't last long without backups. Speaking of backups and rescue disks, I am using an rsync snapshots style of

Re: live and learn

2010-06-08 Thread Bruce Dubbs
piper.guy1 wrote: Hi, Started reading and doing what the book says (6.6). Didn't take too long before I got myself into trouble. :-( In Host system Requirements, the instructions explicitly wants '/bin/sh' to be pointing to bash. Mine was pointing to dash. So I endeavoured to change it

Re: live and learn

2010-06-08 Thread Ken Moffat
On 8 June 2010 21:08, piper.guy1 piper.g...@gmail.com wrote: Sooo...before I do something else that I'm not suppose to do, I thought I'd get advise first. My thinking is that I need to get a Linux rescue or recovery CD, mount the file system on the hard drive, and then add a symlink to bash.

Re: live and learn

2010-06-08 Thread Mike McCarty
piper.guy1 wrote: Hi, Started reading and doing what the book says (6.6). Didn't take too long before I got myself into trouble. :-( Hee hee! Aren't we having fun! Before starting in on something like this, be sure your backup and recovery procedure works well. So, join the explicitly non

Re: live and learn

2010-06-08 Thread Andrew Benton
On 08/06/10 21:54, Mike McCarty wrote: piper.guy1 wrote: Sooo...before I do something else that I'm not suppose to do, I thought I'd get advise first. My thinking is that I need to get a Linux rescue or recovery CD, mount the file system on the hard drive, and then add a symlink to bash. Make

Re: live and learn

2010-06-08 Thread linux fan
I haven't read where piper.guy confirmed that bash is installed or that if bash is not installed, that changing the link to point to bash won't help. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above

Re: live and learn

2010-06-08 Thread Bruce Dubbs
linux fan wrote: I haven't read where piper.guy confirmed that bash is installed or that if bash is not installed, that changing the link to point to bash won't help. I don't know of a distro that doesn't install bash by default unless you are using tomsrtbt. -- Bruce --

Re: live and learn

2010-06-08 Thread Bruce Dubbs
Mike McCarty wrote: # cd LFS/6.3 # rm -rf build and deleted /dev from my host system! No discs, no printers, no terminals, etc. I rebooted with a Knoppix disc, let it populate /dev, and then mounted my hard drive, and copied (yes copied using cp) /dev onto my hard drive. I don't think

Re: live and learn

2010-06-08 Thread Bruce Dubbs
Mike McCarty wrote: Yeah, deleting the link without changing your /etc/passwd entry to point to a valid shell would do that. Changing the /etc/password file won't do much. The bootscripts need /bin/sh. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:

Re: live and learn

2010-06-08 Thread piper.guy1
On Tue, Jun 8, 2010 at 5:50 PM, linux fan linuxscra...@gmail.com wrote: I haven't read where piper.guy confirmed that bash is installed or that if bash is not installed, that changing the link to point to bash won't help. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ:

Re: live and learn

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 16:54:52 Mike McCarty wrote: piper.guy1 wrote: One more thing. Seeing that this is a very risky thing to be advising in LFS 6.6, can I suggest that the authour(s) add some caveats around this instruction? The best way to do LFS is to pretend you are the computer,

Re: live and learn

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 18:57:21 Bruce Dubbs wrote: Mike McCarty wrote: # cd LFS/6.3 # rm -rf build and deleted /dev from my host system! No discs, no printers, no terminals, etc. I rebooted with a Knoppix disc, let it populate /dev, and then mounted my hard drive, and copied (yes

Re: live and learn

2010-06-08 Thread Bruce Dubbs
Neal Murphy wrote: I started playing with UNIX in 1986, and Linux in the mid-nineties. And just a couple weeks ago, I overwrote a disk that contained half of a couple striped MD filesystems. Lost nearly 10 years of pics and history. No backups? How is this different (in effect) from a

Re: live and learn

2010-06-08 Thread Neal Murphy
On Tuesday 08 June 2010 20:05:46 Bruce Dubbs wrote: Neal Murphy wrote: I started playing with UNIX in 1986, and Linux in the mid-nineties. And just a couple weeks ago, I overwrote a disk that contained half of a couple striped MD filesystems. Lost nearly 10 years of pics and history. No

Re: live and learn

2010-06-08 Thread littlebat
On Tue, 8 Jun 2010 16:08:18 -0400 In Host system Requirements, the instructions explicitly wants '/bin/sh' to be pointing to bash. Mine was pointing to dash. under Ubuntu, try sudo dpkg-reconfigure dash. Any recommendations on a rescue disk? CDlinux. ( http://cdlinux.info/ ) PS: try