Quote:
Originally Posted by EDDY1
(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
|
set to (hd1,1) leads to no booting at all.
Gives error:
Code:
error: hd1 cannot get C/H/S values
With my original config, the booting starts but gives error when mounting swap & root partition.
When 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)........
................
................
Activating all swap.... /dev/sdb2 stat failed No such file or directory [FAIL]
Checking file system ..fsck:ext3: No such file or directory while trying to open /dev/sdb1 [FAIL]
Failure:
File system error was encountered that could not be fixed automatically. This syste cannot continue to boot & will therefore be halted until those errors are fixed manually by a system adminstrator.
After you press Enter this system will be halted & powered off/