did any other errors occur during the install process that you might have missed? show me the output of
emerge --info
also try to emerge lilo
Printable View
did any other errors occur during the install process that you might have missed? show me the output of
emerge --info
also try to emerge lilo
nope not at all, i even installed the other pkg that will be installed after grub with no problem
for more details please check my thread @ gentoo's forum here ==> http://forums.gentoo.org/viewtopic-t-544979.html
i think i am going to install lilo instead cause this problem has already delayed my installation for more than 6 hours
hope i won't face any problems with lilo
I don't use grub nor lilo as i boot of a usb stick using the extlinux bootloader. I will try to reproduce your error later on today.Quote:
Originally Posted by SaFrOuT
meantime skip grub for now and use lilo.
Quote:
Originally Posted by likewhoa
more info please about this usb bootloader ?
can i use it so if any of my family wanted to use my PC whle this usb is not plugged , it will boot from the harddisk and start windows normally, while to boot linux i must insert the usb ?
yes that's what it's for and more. I can explain briefly how it's done. basically you just need a custom initramfs image loaded by the kernel that will mount your root partition then switch to it from the usb device.Quote:
Originally Posted by SaFrOuT
google extlinux more a little more info..
the steps are as follow. create your kernel with a custom initramfs image containing your code inside /init which will mount and switch to your real root partition..
that's basically the steps you take to get a usb stick ready to boot linux. you'll have to learn how to make the initramfs's init script yourself.Quote:
#overwrite mbr of usb device
dd if=/dev/zero of=/dev/sdb bs=1024k count=5 conv=notrunc
# create file system on usb partition
mke2fs -m0 /dev/sdb1
# make temp directory, copy syslinux package tarball to it, untar.
mkdir tempdir && cd tempdir
cp /usr/portage/distfiles/syslinux-<version>.tar.bz2 .
tar -xvjf syslinux-<version>.tar.bz2
cd syslinux-<version>
# install mbr
cat mbr.bin > /dev/sdb
# mount usb paritition
mount -t ext2 /dev/sdb1 /mnt/usb
# copy kernel image and your custom initramfs image.
cp /usr/src/linux/arch/<arch>/boot/bzImage /mnt/usb/
cp /usr/src/linux/usr/initramfs_data.cpio.gz /mnt/usb
# copy this file to get a simple menu
cp syslinux-<version>/com32/modules/menu.c32 /mnt/usb
# install extlinux into usb device partition, then copy extlinux.conf "edit this after"
extlinux /mnt/usb
cp /path/to/extlinux.conf /mnt/usb/
# unmount it.
umount /mnt/usb
sync
to create an initramfs which the kernel can read type.
Code:cd /src/initramfs-contents && find . | cpio --quiet -o -H newc | gzip -9 >/root/initramfs_data.cpio.gz
ok thanks for the help
gonna buy a small flash drive later tonight and try to use it
it will be very helpful
so if i want to follow ur guide but just install the stable versions of software
like the gcc-4.1.1 ;)
to do this i just need to edit the following command , by removing "~amd64 & ~x86" and just using "amd64 x86 "
or do i need to edit something else along the guide
Code:# /usr/portage/scripts/bootstrap.sh &&
source /etc/profile &&
if [ $(grep "CHOST=\"x86_64-pc-linux-gnu\"" /etc/make.conf) ]; then sed -i 's/amd64 x86/~amd64 ~x86/' /etc/make.conf ;fi &&
emerge gcc-config linux-headers glibc binutils gcc portage &&
env-update && source /etc/profile &&
emerge linux-headers glibc binutils gcc &&
emerge -O libperl sysvinit expat gettext python &&
emerge --deep system &&
emerge syslog-ng grub hotplug vixie-cron reiserfsprogs reiser4progs sysfsutils udev dhcpcd &&
emerge -O ntp &&
rc-update add syslog-ng default &&
rc-update add net.eth0 default &&
rc-update add vixie-cron default &&
rc-update add sshd default &&
rc-update add hotplug default
just take out the long "if [ $(grep "CHOST=\"x86_64-pc-linux-gnu\"" /etc/make.conf) ]; ...." out the one-liner and edit the make.conf to have "amd64 x86" instead of "~amd64 ~x86" and you should have a stable system build. you might still run into problems so be warned. :D
SaFrOuT i noticed you tried to used a combination of stable+unstable keywords on your next attempt and i would have told you _not_ to because using stable arch "amd64" with unstable "x86" will bring you problems. you either use stable or unstable keywords, not a mixture of the two.
sorry i am not sure that i understand ur reply
isn't using "amd64 x86" considered stable, while the unstable is using "~amd64 ~x86" ???
or being stable means to use only "amd64" without even the "x86" ?
I was replying to your comment on forums.gentoo.org about using "amd64 ~x86" which will create problems in the long run. what i mean is you either use both unstable i.e "~amd64 ~x86" or both stable keywords, not a mix of the two.Quote:
Originally Posted by SaFrOuT
ic
it seems that i mistyped it, i sure used in my second trial "amd64 x86"
thanks a lot for ur help
my problem is that i didn't understand this part correctlyQuote:
Originally Posted by likewhoa
sorry for the bothering while it was my own fault
so when i want to ause a 4bit system i should choose a profile like the one below ?
default-linux/amd64/2006.1
or
default-linux/amd64/2006.1/desktop
EDIT:
also one last question, is it safe to leave x86in the accept_keywords in the make.conf ?
YES. just make sure you follow the guide correctly and read the underline wording :D
BTW if you had listened to me on http://www.xtremesystems.org/forums/...0&postcount=26
you would not have wasted so much time seeing that it was 13 post ago.
I have revised the Guide with a (64BIT only) on the section where you would switch profiles. please read this part as you'll need to perform this command in order to take advantage of the new Linux Native POSIX Threads Library. The 64BIT stage1 tarball come with a default profile with "no-nptl" so that step will allow NPTL to be enabled in USE flags. When using the 32bit Profile you'll won't need to switch to this "NPTL" enabled profile because the 32bit profile allready uses a profile that enabled Native POSIX Threads Library. Good luck on your next attempt. Post any further errors but this time start with or include "emerge --info" in your thread. :)
to answer your question above on which profile to choose,.. just choose the one pointed in the guide as the DESKTOP profile will bring in to many USE flags into the mix and will just cause problems in this early stage.
SaFrOuT how did your next attempt go?
Quote:
Originally Posted by likewhoa
yesterday the one big lienear command without the IF condition ended without any problems
i am now starting to config the rc file and gonna install the kernel
thanks for everything
cool glad it when well. make sure to checkout gentoo.org/doc for some Official Guides on setting up your Video Card,Desktop Environment and Various other things. Enjoy :)
got this error msg, is it ok to ignore it ?
Code:livecd linux# modules-update
* updating /etc/modules.conf [ok]
*updating /etc/modprobe.conf [ok]
* warning : could not generate /etc/modules.conf ! [!!]
* updating /etc/modules.conf by hand [ok]
yes that warning is nothing to worry about. :)
well i finished and when rebooting, i got a kernel panic saying that i didn't specify the root partition correctly
so it seems i missed something in the /etc/fstab
gonna check it later tonight
check your grub line, this is not an fstab issue but rather a grub.conf issue.
I feel so at home with fellow Gentoo'ers ;) Pretty nice write up by the way :clap:
thanks, I figure an unofficial guide would fit nice here. :)