LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Face
hello all,

after solving my last problem i went Through the rest of the book
without any problems. However, when i try to boot to the new system
nothing happen i only get this

Booting from Hard Disk ...

and it freeze

i Attached the fstab and  grub.cfg
-- 
Sincerely,


fstab
Description: Binary data


grub.cfg
Description: Binary data
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread William Immendorf
On Tue, Jul 6, 2010 at 4:32 AM, Face falaz...@gmail.com wrote:
 hello all,

 after solving my last problem i went Through the rest of the book
 without any problems. However, when i try to boot to the new system
 nothing happen i only get this

 Booting from Hard Disk ...

 and it freeze
From looking at the fstab, it looks like you are using the decerpated
ATA setup. You should not be doing this. Disable the decperated ATA
support and enable SATA and PATA support option, and select whatever
hard drive controller you're using (lspci is your friend here), and
select Generic ATA Support. Also, modify your fstab from
/dev/hda{1,5} to /dev/sda{1,5}.

Also, can you please give me an ls of /dev from your host system, and
what host system is it?


-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.
GPG key ID: 1697BE98
If it's not signed, it's not from me.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Neal Murphy
On Tuesday 06 July 2010 05:32:56 Face wrote:
 hello all,

 after solving my last problem i went Through the rest of the book
 without any problems. However, when i try to boot to the new system
 nothing happen i only get this

 Booting from Hard Disk ...

 and it freeze

Your main problem is these two lines in menu.lst:
set root='(hd0,1)'
set root='(hd0,1)'

This aspect of partition addressing is zero-based in grub. Change them to:
set root='(hd0,0)'

And don't forget to change references to '/dev/hd*' to '/dev/sd*', since the 
old IDE driver is on its way to meet the dodo and the neanderthal.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Andrew Benton
On 06/07/10 16:41, Neal Murphy wrote:

 Your main problem is these two lines in menu.lst:
   set root='(hd0,1)'
   set root='(hd0,1)'

 This aspect of partition addressing is zero-based in grub. Change them to:
   set root='(hd0,0)'

That was true for grub legacy but the grub we use counts partitions from 
1 so (hd0,1) is the correct way of saying /dev/hda1 to grub

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Bruce Dubbs
Neal Murphy wrote:
 On Tuesday 06 July 2010 05:32:56 Face wrote:
 hello all,

 after solving my last problem i went Through the rest of the book
 without any problems. However, when i try to boot to the new system
 nothing happen i only get this

 Booting from Hard Disk ...

 and it freeze
 
 Your main problem is these two lines in menu.lst:
   set root='(hd0,1)'
   set root='(hd0,1)'
 
 This aspect of partition addressing is zero-based in grub. Change them to:
   set root='(hd0,0)'

No, that's wrong.  He specified grub.cfg.  That's GRUB2 and the 
partitions are 1 based.  The set root line is correct.

In fstab *and* grub.cfg, change hda to sda.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Andrew Benton
On 06/07/10 14:49, William Immendorf wrote:
 On Tue, Jul 6, 2010 at 4:32 AM, Facefalaz...@gmail.com  wrote:
 hello all,

 after solving my last problem i went Through the rest of the book
 without any problems. However, when i try to boot to the new system
 nothing happen i only get this

 Booting from Hard Disk ...

 and it freeze
 From looking at the fstab, it looks like you are using the decerpated
 ATA setup. You should not be doing this. Disable the decperated ATA
 support and enable SATA and PATA support option, and select whatever
 hard drive controller you're using (lspci is your friend here), and
 select Generic ATA Support. Also, modify your fstab from
 /dev/hda{1,5} to /dev/sda{1,5}.


You're right, he should change /dev/hda1 to /dev/sda1, but the fstab is 
irrelevant. A broken fstab will cause the bootscripts to have problems, 
but the system will still boot as long as the kernel has been told to 
mount the correct partition (/dev/sda1) in grub.cfg.

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Neal Murphy
On Tuesday 06 July 2010 11:49:27 Andrew Benton wrote:
 On 06/07/10 16:41, Neal Murphy wrote:
  Your main problem is these two lines in menu.lst:
  set root='(hd0,1)'
  set root='(hd0,1)'
 
  This aspect of partition addressing is zero-based in grub. Change them
  to: set root='(hd0,0)'

 That was true for grub legacy but the grub we use counts partitions from
 1 so (hd0,1) is the correct way of saying /dev/hda1 to grub

Oh. :{ I stand corrected. Sometimes you *can* teach an old dog new tricks. :)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Face
I did change /dev/hd*  to /dev/sd* and nothing happen

here is  ls of /dev


root [ ~ ]# ls /dev/*
/dev/cdrom/dev/null  /dev/tty20  /dev/tty44  /dev/ttyS1
/dev/console  /dev/nvram /dev/tty21  /dev/tty45  /dev/ttyS2
/dev/core /dev/port  /dev/tty22  /dev/tty46  /dev/ttyS3
/dev/full /dev/psaux /dev/tty23  /dev/tty47  /dev/urandom
/dev/fuse /dev/ptmx  /dev/tty24  /dev/tty48  /dev/usbdev1.1
/dev/gpmctl   /dev/random/dev/tty25  /dev/tty49  /dev/usbdev1.1_ep00
/dev/hda  /dev/rtc   /dev/tty26  /dev/tty5   /dev/usbdev1.1_ep81
/dev/hda1 /dev/snapshot  /dev/tty27  /dev/tty50  /dev/vcs
/dev/hda2 /dev/stderr/dev/tty28  /dev/tty51  /dev/vcs1
/dev/hda5 /dev/stdin /dev/tty29  /dev/tty52  /dev/vcs2
/dev/hdc  /dev/stdout/dev/tty3   /dev/tty53  /dev/vcs3
/dev/initctl  /dev/synth /dev/tty30  /dev/tty54  /dev/vcs4
/dev/kmem /dev/tty   /dev/tty31  /dev/tty55  /dev/vcs5
/dev/kmsg /dev/tty0  /dev/tty32  /dev/tty56  /dev/vcs6
/dev/lfs-cd   /dev/tty1  /dev/tty33  /dev/tty57  /dev/vcs7
/dev/loop0/dev/tty10 /dev/tty34  /dev/tty58  /dev/vcsa
/dev/loop1/dev/tty11 /dev/tty35  /dev/tty59  /dev/vcsa1
/dev/loop2/dev/tty12 /dev/tty36  /dev/tty6   /dev/vcsa2
/dev/loop3/dev/tty13 /dev/tty37  /dev/tty60  /dev/vcsa3
/dev/loop4/dev/tty14 /dev/tty38  /dev/tty61  /dev/vcsa4
/dev/loop5/dev/tty15 /dev/tty39  /dev/tty62  /dev/vcsa5
/dev/loop6/dev/tty16 /dev/tty4   /dev/tty63  /dev/vcsa6
/dev/loop7/dev/tty17 /dev/tty40  /dev/tty7   /dev/vcsa7
/dev/mcelog   /dev/tty18 /dev/tty41  /dev/tty8   /dev/zero
/dev/mem  /dev/tty19 /dev/tty42  /dev/tty9
/dev/mouse/dev/tty2  /dev/tty43  /dev/ttyS0

/dev/bus:
usb

/dev/disk:
by-id  by-path  by-uuid

/dev/fd:
0  1  2  3

/dev/input:
by-path  event0  event1  event2  mice  mouse0

/dev/mapper:
control  lfs-cd

/dev/pts:
0

/dev/shm:







On Tue, Jul 6, 2010 at 4:49 PM, William Immendorf
will.immend...@gmail.com wrote:
 On Tue, Jul 6, 2010 at 4:32 AM, Face falaz...@gmail.com wrote:
 hello all,

 after solving my last problem i went Through the rest of the book
 without any problems. However, when i try to boot to the new system
 nothing happen i only get this

 Booting from Hard Disk ...

 and it freeze
 From looking at the fstab, it looks like you are using the decerpated
 ATA setup. You should not be doing this. Disable the decperated ATA
 support and enable SATA and PATA support option, and select whatever
 hard drive controller you're using (lspci is your friend here), and
 select Generic ATA Support. Also, modify your fstab from
 /dev/hda{1,5} to /dev/sda{1,5}.

 Also, can you please give me an ls of /dev from your host system, and
 what host system is it?


 --
 William Immendorf
 The ultimate in free computing.
 Messages in plain text, please, no HTML.
 GPG key ID: 1697BE98
 If it's not signed, it's not from me.

 --

 Every nonfree program has a lord, a master --
 and if you use the program, he is your master.  Richard Stallman
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page




-- 
Sincerely,
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread Face
did not work

On Tue, Jul 6, 2010 at 6:41 PM, Neal Murphy neal.p.mur...@alum.wpi.edu wrote:
 On Tuesday 06 July 2010 05:32:56 Face wrote:
 hello all,

 after solving my last problem i went Through the rest of the book
 without any problems. However, when i try to boot to the new system
 nothing happen i only get this

 Booting from Hard Disk ...

 and it freeze

 Your main problem is these two lines in menu.lst:
        set root='(hd0,1)'
        set root='(hd0,1)'

 This aspect of partition addressing is zero-based in grub. Change them to:
        set root='(hd0,0)'

 And don't forget to change references to '/dev/hd*' to '/dev/sd*', since the
 old IDE driver is on its way to meet the dodo and the neanderthal.
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page




-- 
Sincerely,
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - booting in the new system - Problem

2010-07-06 Thread William Immendorf
On Tue, Jul 6, 2010 at 5:06 PM, Face falaz...@gmail.com wrote:
 I did change /dev/hd*  to /dev/sd* and nothing happen
SNIP
 /dev/mapper:
 control  lfs-cd
I noticed your diddn't specify your host system, but judging by your
ls of /dev, it looks like you are using the LFS livecd...

Anyway, I think you vi the grub.cfg file and replace root=/dev/hda1
with root=/dev/sda1. Then try to boot up your LFS system. If your
kernel panics upon boot, complaing about not being able to mount the
root file system, then you have a kernel configuration problem.

-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.
GPG key ID: 1697BE98
If it's not signed, it's not from me.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page