cannot open root device hda3

DJ Lucas dj at linuxfromscratch.org
Sun Feb 1 23:09:10 PST 2009


Ralph Porter wrote:
> Yep.
> 
> booting from 6.3 livecd
> 
> export LFS=/mnt/lfs
>  chroot "$LFS" /usr/bin/env -i     HOME=/root TERM="$TERM"
> PS1='\u:\w\$ '     PATH=/bin:/usr/bin:/sbin:/usr/sbin     /bin/bash
> --login
> 
> root:/sources/linux-2.6.22.5# make mrproper
> 
> make LANG=en_US.iso88591 LC_ALL= menuconfig
> save file with no changes (defaults worked last time)
> 
> make
> 
> kernel/built-in.o: In function `getnstimeofday':
> (.text+0x196b9): undefined reference to `__umoddi3'
> kernel/built-in.o: In function `do_gettimeofday':
> (.text+0x19774): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `do_gettimeofday':
> (.text+0x19797): undefined reference to `__umoddi3'
> kernel/built-in.o: In function `update_wall_time':
> (.text+0x19ee9): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `update_wall_time':
> (.text+0x19f13): undefined reference to `__umoddi3'
> make: *** [.tmp_vmlinux1] Error 1

Everything looks correct there.  Strange.  I honestly don't recall 
exactly why (technically), but I've seen that before.  I think it was a 
simple environment error (PATH was set but not exported in my case I 
think it was...maybe, not sure).  Can't hurt to try exporting PATH from 
inside the chroot environment, and running ldconfig again, and then 
review what is in /etc/profile, ~/.bash_profile, and ~/.bashrc for errors.

-- DJ Lucas




More information about the lfs-support mailing list