Code:
Both inittab and fstab look ok (btw did you change your hosts /etc/fstab as mentioned in post #11?) but right now i can't even boot my host.that's my problem !!! |
Hi,
Quote:
You might try to connect the debian install dvd/cd or iso (as bootable) to your vm (I do believe you use vmware, have a look at this link: ISO Image Files & VMware). If that works and you can boot from the cd/dvd you might be able to repair your debian system (don't bother with LFS right now). I'm not familiar enough with vmware to give you an alternative. If you do get a grub menu, you might be able to use grub's edit option (press e in menu) to change the entry and make debian boot so you can repair grub.cfg. You do have to know the name of the kernel/initrd image that is used by debian....... If you cannot get either of the above to work and repair debian I wouldn't know how you can boot debian and keep working on this system. |
Quote:
I also don't understand why /boot is empty if this _is_ from the LFS system....... Have a look ath the first code block in post #11. Why didn't you do the cp commands in the middle part? |
/boot is on my lfs.in post #17 roken said i should exit chroot before issue the copy commands
|
Hi,
Quote:
You did ask a question about that (post ) and both spiky0011 and me told you those steps should be done inside the chrooted environment (FOLLOW THE BOOK!!!). |
@ druuna,
I was going to ask this privately, though you have disabled IM, so I'll have to do it here. What exactly is wrong with my instructions? The only difference between the two systems is a separate boot partition, though that doesn't preclude a separate /boot folder (one on the host system and one on LFS). Provided this is correctly accounted for (as I indicated) my guide works without incident. "Roken is wrong" isn't much help without an indication of what you think is wrong, so perhaps you could expand a little. Cheers. |
Hi Roken,
Quote:
Another one would be: Quote:
Quote:
In general you used your own environment, which deviates on many points from devilboy09's. Someone with experience might pick that up and adjust it to their own setting, but it should be clear that devilboy09 isn't experienced at all when it comes down to building kernels, using grub and multi-boot systems. I try to make my examples compliant to the environment of the OP and also try to keep them as simple as possible while staying true to the commands posted in the LFS book. Hope this answers your question. |
I think at the moment you must forget lfs and sort debain out good and proper. I take it you do have a live cd.
|
i really love to do that spiky0011.but i can't boot my host
roken's post ruined my grub |
Quote:
Nevertheless, repair of grub can be done from your LFS boot by chrooting to your Debian install and reinstalling grub there. This will restore the default grub back to where you were (with the same erroneous entry that you had for LFS when you started) |
Code:
Nevertheless, repair of grub can be done from your LFS boot by chrooting to your Debian install and reinstalling grub there. This will restore the default grub back to where you were (with the same erroneous entry that you had for LFS when you started) that's what i'm wonder about.when turn the machine on it goes straight to my lfs and i don't have a choice. and about my previous post that i said you ruined my lfs, that wasn't what i meant.you really help me to build the lfs with your answers.i'm sorry if i upset you,i really am |
Is it possible to get in by grub prompt Or do you not get a grub menu come up? sorry missed the bit no boot menu
|
there is neither grub promp nor grub menu.this is new for me since one year age that i started working with linux!!!
|
Do you still have the cd usb that you used to install the os from there you can fix your problem, if not redownload it
|
What happens if you press "SHIFT" during boot?
|
All times are GMT -5. The time now is 05:11 AM. |