![]() |
Booting problem VBOX
hello,
Does anyone here tried build lfs7.2 on VirtualBox? I am having problem booting it. I used a separate virtualdisk for LFS and built it while working on xubuntu running on separate virtualdisk. When i did fdisk -l, LFS was on sdb[sdb1(ext3),sdb2(swap)] & xubuntu was on sda[sda1(ext4),sda2(swap)]. So, i installed grub on sdb. But, in the grub.cfg file i gave root as (hd0,1) as when i am booting only the LFS virtualdisk alone, then it will be hd0. the booting starts, but it does not complete. Any idea how i should troubleshoot this? thanks. |
(hd0,1) should be (hd1,1)
You didn't have to install grub to lfs unless you're going to run in it's own machine. You could've run Quote:
|
Quote:
Gives error: Code:
error: hd1 cannot get C/H/S valuesWhen i built LFS it was on sdb & Xubuntu on sda. But, then i removed the xubuntu vdisk and am only booting from lfs vdisk. So, lfs vdisk is now sda. Grub config seems to be work well. But, problem seems to be during booting process as it is trying to mount sdb1 & sdb2; instead of sda1 & sda2. With orig config as in first post i get this error: Code:
.....(Normal log lines which appear during boot)........ |
Maybe focusing on the set root= command of grub.cfg made you overlook the root= parameter in the linux command line. Anyway, I've done that before. Also check /etc/fstab now that devices likely are being enumerated differently. Also check to make sure that you have built in (not modules) appropriate file system support including devtmpfs (CONFIG_DEVTMPFS=y found in Device Drivers --->Generic Driver Options --->).
|
Quote:
Thanks! stoat. |
| All times are GMT -5. The time now is 09:22 PM. |