Re: Booting problems

2010-02-12 Thread Jan-Christoph Bornschlegel
brown wrap schrieb: [...] > So here is my question. If I move the external drive inside and make it the > first drive, will I be able to boot, even though LFS is on the 2nd partiton? > I don't want to, but I could move everyting over to the first partition, but > I'd have to wipe it out, which I

Re: Booting problems again

2010-02-12 Thread Bruce Dubbs
brown wrap wrote: > I wanted to install LFS on a fresh partition and this was the only > unused SATA drive I had. I had small IDE drives, but this computer > doesn't have an IDE interface. And when it comes to cost now $40 gets > you double this size. I could repartition the drive, but I am trying

Re: Booting problems again

2010-02-12 Thread brown wrap
I wanted to install LFS on a fresh partition and this was the only unused SATA drive I had. I had small IDE drives, but this computer doesn't have an IDE interface. And when it comes to cost now $40 gets you double this size. I could repartition the drive, but I am trying to avoid it. I install

Re: Booting problems again

2010-02-12 Thread Simon Geard
On Fri, 2010-02-12 at 20:48 -0600, Bruce Dubbs wrote: > IMO, 750G is way too big for an LFS partition. Well, not *too* big, in the sense of causing problems. "Unnecessarily big" might be a better wording, and I'd agree. Separating data from applications is practically a necessity when it comes to

Re: Booting problems again

2010-02-12 Thread Bruce Dubbs
brown wrap wrote: > A little more. I didn't list the size of the disks because I didn't > think it was important, but since the legacy GRUB may not be able to > handle them: > > sda is small, I am not at the machine until Sunday or Monday. > > sdb is one TB that I just store stuff on. > > sdc is

Re: Booting problems again

2010-02-12 Thread brown wrap
A little more. I didn't list the size of the disks because I didn't think it was important, but since the legacy GRUB may not be able to handle them: sda is small, I am not at the machine until Sunday or Monday. sdb is one TB that I just store stuff on. sdc is the disk with LFS on it. It is 1.

Re: lose data on shutdown?

2010-02-12 Thread Aleksandar Kuktin
>On Fri, 12 Feb 2010 05:22:24 -0800 >"Kyle Rush" wrote: > > On Fri, February 12, 2010 5:15 am, Andrew Benton wrote: > > On 12/02/10 12:14, Kyle Rush wrote: > >> > >> I have a livecd 6.3 and book 6.3. the computer I am installing it > >> on is somewhat old, and thus 1 SBU = about one hour. I can't

Re:

2010-02-12 Thread Mike McCarty
Bruce Dubbs wrote: > bchaf...@programmer.net wrote: >> >> >> I am working from book 6.5 >> I am up to the stage of building Glibc from within the system proper, >> chap >> ter 6 section 9.1 >> This command: >> DL=3D$(readelf -l /bin/sh | sed -n >> 's...@.*interpret.*/tools\(.

Re: Booting problems again

2010-02-12 Thread Bruce Dubbs
brown wrap wrote: > > Let me start over and maybe I can make things clear. I built the LFS > using Centos 5.4, running with the old GRUB. Here is my system > layout: > > /dev/sda has Centos with its swap being the 2nd partiton. /dev/sdb I > use to download files and store things. > > /dev/sdc is

Booting problems again

2010-02-12 Thread brown wrap
Let me start over and maybe I can make things clear. I built the LFS using Centos 5.4, running with the old GRUB. Here is my system layout: /dev/sda has Centos with its swap being the 2nd partiton. /dev/sdb I use to download files and store things. /dev/sdc is two partitions, sdc1 and sdc2 In

Re: Booting problems

2010-02-12 Thread Bruce Dubbs
linux fan wrote: > On 2/12/10, brown wrap wrote: > >> So I changed the grub.conf to: >> >> title GNU/Linux, with Linux 2.6.32.7-lfs-6.6-rc1 >> root (hd2,1) >> kernel /vmlinux-2.6.32.7-lfs-6.6-rc1 root=/dev/sdc2 >> > > I think Grub2 wants it to say: > root (hd2,2) >

Re: Booting problems

2010-02-12 Thread linux fan
On 2/12/10, brown wrap wrote: > So I changed the grub.conf to: > > title GNU/Linux, with Linux 2.6.32.7-lfs-6.6-rc1 > root (hd2,1) > kernel /vmlinux-2.6.32.7-lfs-6.6-rc1 root=/dev/sdc2 > I think Grub2 wants it to say: root (hd2,2) linux /vmlinux-2.6.32.7-lfs-6.6

Re:

2010-02-12 Thread Bruce Dubbs
bchaf...@programmer.net wrote: > > > I am working from book 6.5 > I am up to the stage of building Glibc from within the system proper, chap > ter 6 section 9.1 > This command: > DL=3D$(readelf -l /bin/sh | sed -n > 's...@.*interpret.*/tools\(.*\)]...@\1@p') ^^ Extr

Re: Booting problems

2010-02-12 Thread Bruce Dubbs
stosss wrote: > > GRUB uses its own naming structure for drives and partitions in the > form of (hdn,m), where n is the hard drive number and m is the > partition number, both starting from zero. For example, partition hda1 > is (hd0,0) to GRUB and hdb3 is (hd1,2). In contrast to Linux, GRUB > does

[no subject]

2010-02-12 Thread bchaffin
I am working from book 6.5 I am up to the stage of building Glibc from within the system proper, chap ter 6 section 9.1 This command: DL=3D$(readelf -l /bin/sh | sed -n 's...@.*interpret.*/tools\(.*\)]...@\1@p') produces the following output: "bash: command substitut

Re: Openssh chapter 19

2010-02-12 Thread stosss
On Fri, Feb 12, 2010 at 3:14 PM, Mike McCarty wrote: > stosss wrote: > > [where's my stuff?] > >> On Fri, Feb 12, 2010 at 2:31 PM, Mike McCarty >> wrote: > > [...] > >>> That depends upon how you configure your build. I suggest you >>> read the section in the book >>> >>>        The /usr Versus /

Re: Booting problems

2010-02-12 Thread Mike McCarty
brown wrap wrote: > >> Did you read this in the book: >> [...] > Thank you, I missed that. First step when having a problem is re read the relevant section, slowly, carefully, and look for typos, mistakes, spelling errors, etc. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,3

Re: Booting problems

2010-02-12 Thread brown wrap
> Did you read this in the book: > > GRUB uses its own naming structure for drives and > partitions in the > form of (hdn,m), where n is the hard drive number and m is > the > partition number, both starting from zero. For example, > partition hda1 > is (hd0,0) to GRUB and hdb3 is (hd1,2). In co

Re: Booting problems

2010-02-12 Thread stosss
>> Because the syntax is wrong.  See the example in the >> book. >> Also, the kernel line is probably wrong if you didn't set >> up a separate >> /boot partition. >> >> It's really hard maintain patience when users ask questions >> without >> trying to do some research, like reading the book, on th

Re: Booting problems

2010-02-12 Thread brown wrap
> > Because the syntax is wrong.  See the example in the > book. > Also, the kernel line is probably wrong if you didn't set > up a separate > /boot partition. > > It's really hard maintain patience when users ask questions > without > trying to do some research, like reading the book, on thei

Re: Openssh chapter 19

2010-02-12 Thread stosss
On Fri, Feb 12, 2010 at 2:31 PM, Mike McCarty wrote: > stosss wrote: >> svn-20100203 from the 02-10-2010 archive >> >> The last sentence in the paragraph between make and make test. >> >> _To run the test suite, first copy the scp program to /usr/bin, making >> sure that you back up any existing c

Re: Booting problems

2010-02-12 Thread stosss
On Fri, Feb 12, 2010 at 2:08 PM, brown wrap wrote: > The first time I tried to modify the old grub.conf, I just add the lines > created by the new grub.cfg, must made them adhere to the format used in > grub.conf. That attempted boot, resulted in no such partition. > > So I changed the grub.conf

Re: Booting problems

2010-02-12 Thread Bruce Dubbs
brown wrap wrote: >> So what was the error? Was this second entry to try to boot grub2 >> on sdc2? Did grub2 load or did it quit with an error? Did grub2 >> fail to boot the kernel? >> >> Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support >> FAQ: http://www.linuxfromscratch.org/lfs

Re: Booting problems

2010-02-12 Thread Mike McCarty
brown wrap wrote: > > The first time I tried to modify the old grub.conf, I just add the > lines created by the new grub.cfg, must made them adhere to the > format used in grub.conf. That attempted boot, resulted in no such > partition. > > So I changed the grub.conf to: > > title GNU/Linux, w

Re: Booting problems

2010-02-12 Thread brown wrap
> So what was the error? Was this second entry to try to boot > grub2 on sdc2? Did grub2 load or did it > quit with an error? Did grub2 fail to boot the kernel? > > Andy > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsub

Re: saving info on livecd?

2010-02-12 Thread Mike McCarty
stosss wrote: > > Both of your scripts could be figured out. The second one probably a > lot easier and faster then the first, but would you be willing to > share the details of those scripts especially the first one? Like > maybe post it some where so any one that wants to take a look can. Well,

Re: lose data on shutdown?

2010-02-12 Thread Mike McCarty
Kyle Rush wrote: > On Fri, February 12, 2010 4:48 am, Mike McCarty wrote: [get] >> stages-stop-and-resume.txt >> >> I'm sure if you look in the hints section of the web site you >> can find it. If you have troubles, then I can shoot you a copy >> via separate e-mail. [...] > OK thanks, but

Re: lose data on shutdown?

2010-02-12 Thread stosss
On Fri, Feb 12, 2010 at 7:14 AM, Kyle Rush wrote: > > I have a livecd 6.3 and book 6.3. the computer I am installing it on is > somewhat old, and thus 1 SBU = about one hour. I can't figure out how to > shut down the machine without losing everything i was working on. I do not > know if this was c

Re: Booting problems

2010-02-12 Thread Andrew Benton
On 12/02/10 17:07, brown wrap wrote: > I finshed compiling everything but can't boot. Here's my problem. > I have two internal disks and one external: > > /dev/sda > /dev/sdb > /dev/sdc > > In reading the book, it said to set aside a partition for LFS. I did, it was > the 2nd partition > of sdc,

Re: Booting problems

2010-02-12 Thread brown wrap
> Did you follow the instructions and boot GRUB2 from GRUB > Legacy to test > it out before updating the MBR? > >    -- Bruce I must have missed them. I will go back and look. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.

Re: Booting problems

2010-02-12 Thread Bruce Dubbs
brown wrap wrote: > I finshed compiling everything but can't boot. Here's my problem. I > have two internal disks and one external: > > /dev/sda /dev/sdb /dev/sdc > > In reading the book, it said to set aside a partition for LFS. I did, > it was the 2nd partition of sdc, sdc2 > > So as one of my

Re: saving info on livecd?

2010-02-12 Thread stosss
On Fri, Feb 12, 2010 at 6:19 AM, Mike McCarty wrote: > Jordan Peters wrote: >> i'm using the ubuntu linux livecd to make my 6.5 lfs install and i'm >> wondering how to save the variables and such i make during the book. >> like is there a way to save the info created during section 4.4 while >> se

Booting problems

2010-02-12 Thread brown wrap
I finshed compiling everything but can't boot. Here's my problem. I have two internal disks and one external: /dev/sda /dev/sdb /dev/sdc In reading the book, it said to set aside a partition for LFS. I did, it was the 2nd partition of sdc, sdc2 So as one of my last steps I set up grub, but it w

Re: lose data on shutdown?

2010-02-12 Thread Philipp Christian Loewner
On Fri, 12 Feb 2010 13:14:37 +0100, Kyle Rush wrote: > I have a livecd 6.3 and book 6.3. the computer I am installing it on is > somewhat old, and thus 1 SBU = about one hour. I can't figure out how to > shut down the machine without losing everything i was working on. I do > not > know if this

Re: lose data on shutdown?

2010-02-12 Thread Philipp Christian Loewner
> OK thanks, but I'm losing EVERYthing. not just partitions, but > everything. > users, files, builds...when i restart, it's just what's on the > livecd. > NOTHING else. am i doing someting wrong? Sorry, I got this mail just after I sent my first response. Of course, you will lose the mou

Re: lose data on shutdown?

2010-02-12 Thread Kyle Rush
On Fri, February 12, 2010 5:15 am, Andrew Benton wrote: > On 12/02/10 12:14, Kyle Rush wrote: >> >> I have a livecd 6.3 and book 6.3. the computer I am installing it on is >> somewhat old, and thus 1 SBU = about one hour. I can't figure out how to >> shut down the machine without losing everything

Re: lose data on shutdown?

2010-02-12 Thread Andrew Benton
On 12/02/10 12:14, Kyle Rush wrote: > > I have a livecd 6.3 and book 6.3. the computer I am installing it on is > somewhat old, and thus 1 SBU = about one hour. I can't figure out how to > shut down the machine without losing everything i was working on. If you've made a partition on your hard dri

Re: lose data on shutdown?

2010-02-12 Thread Kyle Rush
On Fri, February 12, 2010 4:48 am, Mike McCarty wrote: > Kyle Rush wrote: >> I have a livecd 6.3 and book 6.3. the computer I am installing it on is >> somewhat old, and thus 1 SBU = about one hour. I can't figure out how to >> shut down the machine without losing everything i was working on. I do

Re: lose data on shutdown?

2010-02-12 Thread Mike McCarty
Kyle Rush wrote: > I have a livecd 6.3 and book 6.3. the computer I am installing it on is > somewhat old, and thus 1 SBU = about one hour. I can't figure out how to > shut down the machine without losing everything i was working on. I do not > know if this was covered in the book; i don't think it

lose data on shutdown?

2010-02-12 Thread Kyle Rush
I have a livecd 6.3 and book 6.3. the computer I am installing it on is somewhat old, and thus 1 SBU = about one hour. I can't figure out how to shut down the machine without losing everything i was working on. I do not know if this was covered in the book; i don't think it was. if i am wrong, say

Re: Making a Rescue cdrom

2010-02-12 Thread Mike McCarty
brown wrap wrote: > In 8.4.1 there is a procedure to build a rescue floppy. The procedure > uses grub-mkrescue which would support a cdrom if genisoimage. Has > anyone figured out a way to make a rescue cdrom? I download a copy of KNOPPIX and burn a disc. I also like sysrecuecd. Mike -- p="p=%c%

Re: saving info on livecd?

2010-02-12 Thread Mike McCarty
Jordan Peters wrote: > i'm using the ubuntu linux livecd to make my 6.5 lfs install and i'm > wondering how to save the variables and such i make during the book. > like is there a way to save the info created during section 4.4 while > setting up .bash_profile and .bashrc and save the lfs user in