Failure booting into LFS
I recently finished working through the most recent LFS book, but when I try booting into the new OS, I see the following error: VFS: cannot open root device sda2 orq unknown-block(0,0) I built everything using ubuntu as the host which might be the issue? I built the ubuntu box and then tried installing everything on a new partition, so ubuntu called the partitions sdf. I recently repartitioned the drive and copied everything back down. Could ubuntu have messed thing up? Not sure where to go from here. I could start over, but would prefer not to have to. Just not sure where the issue is. Oh. Pc is an up z600. It has an intel raid controller in it. When i compiled the kernel, I added in every raid and Sata/pata driver I could. Is it possible that I missed something? Thanks, Brian -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Failure booting into LFS
Brian Dickens wrote: I recently finished working through the most recent LFS book, but when I try booting into the new OS, I see the following error: VFS: cannot open root device sda2 orq unknown-block(0,0) It looks like you have a problem either in configuration of your boot or in configuration of your kernel build. Be sure you have a physical device at sda and that the second partition on it is the one you want to boot from. Also be sure that you have the drivers for the disc interface chips, and the type of disc you have (ATA, SATA, SCSI, etc.). I built everything using ubuntu as the host which might be the issue? Unlikely. I built the ubuntu box and then tried installing everything on a new partition, so ubuntu called the partitions sdf. I recently repartitioned the drive and copied everything back down. Could ubuntu have messed thing up? Please describe in detail the steps you followed. Not sure where to go from here. I could start over, but would prefer not to have to. Just not sure where the issue is. Probably either your boot loader has been given bad instructions, or your kernel needs a different build done. Oh. Pc is an up z600. It has an intel raid controller in it. When i compiled the kernel, I added in every raid and Sata/pata driver I could. Is it possible that I missed something? Give a list. Thanks, Brian -- p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that! -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Failure booting into LFS
On Thu, 16 Jun 2011 11:48:33 -0400 Brian Dickens briandick...@gmail.com wrote: I recently finished working through the most recent LFS book, but when I try booting into the new OS, I see the following error: VFS: cannot open root device sda2 orq unknown-block(0,0) I built everything using ubuntu as the host which might be the issue? I built the ubuntu box and then tried installing everything on a new partition, so ubuntu called the partitions sdf. I recently repartitioned the drive and copied everything back down. Could ubuntu have messed thing up? Ubuntu is just a tool. Whether or not it messed thing up depends on what commands you issued. Personally I've had good results working from Ubunut, as long as the minimum requirements of version-check.sh are met (sh = /bin/bash, awk = /usr/bin/gawk) then it's fine. Not sure where to go from here. I could start over, but would prefer not to have to. Just not sure where the issue is. Can you chroot into the partition? If you can still chroot and compile something (no need to install it!) then the software is probably Ok and then the problem is either with your kernel .config OR the options you're giving to the kernel from grub. Oh. Pc is an up z600. It has an intel raid controller in it. When i compiled the kernel, I added in every raid and Sata/pata driver I could. Is it possible that I missed something? My bet is that your kernel config needs some work. Please post (from your Ubunut host) the output of lsmod (a list of all the modules it has loaded) and lspci (a list of the hardware it can see). Also, can we see your kernel config? Put it up on pastebin and put the link in an email. (Don't send the whole thing to everyone on the list.) Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Failure booting into LFS
Ok. so it's not ubuntu that's the problem. good to know. And I can load a live CD and chroot into the LFS partition with no problem and work on things and compile just fine. So I suspect the build went okay. I have put the results of lsmod, lspci, and the contents of my .config up on pastebin to not clutter the list. http://pastebin.com/u/superbrian Thanks! On Thu, Jun 16, 2011 at 4:45 PM, Andrew Benton b3n...@gmail.com wrote: On Thu, 16 Jun 2011 11:48:33 -0400 Brian Dickens briandick...@gmail.com wrote: I recently finished working through the most recent LFS book, but when I try booting into the new OS, I see the following error: VFS: cannot open root device sda2 orq unknown-block(0,0) I built everything using ubuntu as the host which might be the issue? I built the ubuntu box and then tried installing everything on a new partition, so ubuntu called the partitions sdf. I recently repartitioned the drive and copied everything back down. Could ubuntu have messed thing up? Ubuntu is just a tool. Whether or not it messed thing up depends on what commands you issued. Personally I've had good results working from Ubunut, as long as the minimum requirements of version-check.sh are met (sh = /bin/bash, awk = /usr/bin/gawk) then it's fine. Not sure where to go from here. I could start over, but would prefer not to have to. Just not sure where the issue is. Can you chroot into the partition? If you can still chroot and compile something (no need to install it!) then the software is probably Ok and then the problem is either with your kernel .config OR the options you're giving to the kernel from grub. Oh. Pc is an up z600. It has an intel raid controller in it. When i compiled the kernel, I added in every raid and Sata/pata driver I could. Is it possible that I missed something? My bet is that your kernel config needs some work. Please post (from your Ubunut host) the output of lsmod (a list of all the modules it has loaded) and lspci (a list of the hardware it can see). Also, can we see your kernel config? Put it up on pastebin and put the link in an email. (Don't send the whole thing to everyone on the list.) Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page