View previous topic :: View next topic |
Author |
Message |
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Sun Apr 03, 2005 4:45 pm Post subject: Problems - Compiling and Installing the Kernal |
|
|
When I was compiling the kernal.....
For 2.4 kernel)
# make dep && make bzImage modules modules_install
(For 2.6 kernel)
# make && make modules_install
I used the 2.4 instead of the 2.6
is there somethign i need to do to go back and redo it?
or can i just rerun the 2.6 kernal? _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card
Last edited by Urlryn on Mon Apr 04, 2005 1:36 am; edited 2 times in total |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Sun Apr 03, 2005 4:48 pm Post subject: |
|
|
just recompile and Code: | make && make modules_install | and do as you would normally _________________ https://otw20.com/ OTW20 The new place for off the wall chat |
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Sun Apr 03, 2005 4:50 pm Post subject: |
|
|
Ok great! I would of hated starting over.
Me and emerge are fast becoming enemies!
thanks for the quick reply!
Urlryn _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Apr 03, 2005 4:52 pm Post subject: |
|
|
Well, if you are using devfs then the migration should be no problem. If it was running ok there is no reason for it not to work now. You can even have the two versions installed and decide what of them to boot from a grub/lilo menu.
Btw: the 2..6 command should be 'make && make install modules_install', the line you posted would install the modules, but not the kernel itself. |
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Sun Apr 03, 2005 5:18 pm Post subject: |
|
|
Ahh ok thanks for the correction
The lines came directly from the 2005.0 Install Guide
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7
Code Listing 15: Compiling the kernel
(For 2.4 kernel)
# make dep && make bzImage modules modules_install
(For 2.6 kernel)
# make && make modules_install
was this a mistake? _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun Apr 03, 2005 5:25 pm Post subject: |
|
|
I did not see that, vow! That's a bug. Do you know where can we report this thing? |
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Sun Apr 03, 2005 5:29 pm Post subject: |
|
|
Nope No clue!
But if anybody will point me in the right place ill place a bug report
I maybe should modify the Title so others may want to see? _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Sun Apr 03, 2005 6:16 pm Post subject: |
|
|
Also i'm getting another problem right after compiling the kernal.
It prompts for a diskette and proceeds to create....i fdformat /dev/fd0 before running this
but i still get space and lilo errors
Click here to see the error _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sun Apr 03, 2005 6:24 pm Post subject: |
|
|
Urlryn wrote: | Also i'm getting another problem right after compiling the kernal.
It prompts for a diskette and proceeds to create....i fdformat /dev/fd0 before running this
but i still get space and lilo errors |
Floppy disks are not very useful anymore. They are simply too small to fit much of anything (like a recent kernel image). |
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Sun Apr 03, 2005 6:31 pm Post subject: |
|
|
So its ok to skip this ?
i just updated the image file with trying to 'mkboot -installkernel'
and added more errors
Also when i attempt to do this the first time
Code Listing 16: Installing the kernel
# cp arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r3
# cp System.map /boot/System.map-2.6.11-gentoo-r3
I got the message
livecd linux # cp arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r4
cp: writing `/boot/kernel-2.6.11-gentoo-r4': No space left on device
so i did a df -kh and it shows:
Filesystem Size Used Avail Use% Mounted on
/dev/ROOT 1.5G 969M 546M 64% /
whats going on?
If i'm reading this right....we are trying to copy bzImage and and rename it to kernel-2.6.11-gentoo-r4 correct? _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card
Last edited by Urlryn on Mon Apr 04, 2005 1:35 am; edited 1 time in total |
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Mon Apr 04, 2005 1:07 am Post subject: |
|
|
Also here is the listing for /boot
lrwxrwxrwx 1 root root 27 Apr 3 11:46 System.map -> System.map-2.6.11-gentoo-r4
-rw-r--r-- 1 root root 1.1M Apr 3 11:46 System.map-2.6.11-gentoo-r4
-rw-r--r-- 1 root root 1.1M Apr 3 10:51 System.map-2.6.11-gentoo-r4.old
lrwxrwxrwx 1 root root 31 Apr 3 11:46 System.map.old -> System.map-2.6.11-gentoo-r4.old
lrwxrwxrwx 1 root root 1 Apr 2 12:14 boot -> .
lrwxrwxrwx 1 root root 23 Apr 3 11:46 config -> config-2.6.11-gentoo-r4
-rw-r--r-- 1 root root 31K Apr 3 11:46 config-2.6.11-gentoo-r4
-rw-r--r-- 1 root root 31K Apr 3 10:51 config-2.6.11-gentoo-r4.old
lrwxrwxrwx 1 root root 27 Apr 3 11:46 config.old -> config-2.6.11-gentoo-r4.old
-rw-r--r-- 1 root root 636K Apr 3 19:00 kernel-2.6.11-gentoo-r4
lrwxrwxrwx 1 root root 24 Apr 3 11:46 vmlinuz -> vmlinuz-2.6.11-gentoo-r4
-rw-r--r-- 1 root root 2.2M Apr 3 11:46 vmlinuz-2.6.11-gentoo-r4
-rw-r--r-- 1 root root 2.2M Apr 3 10:51 vmlinuz-2.6.11-gentoo-r4.old
lrwxrwxrwx 1 root root 28 Apr 3 11:46 vmlinuz.old -> vmlinuz-2.6.11-gentoo-r4.old
can I remove all the .old files? _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card |
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Mon Apr 04, 2005 2:07 am Post subject: |
|
|
Ok my screen went all funky so i had to close out my SSH session
but i did notice this now
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 127960 5304 122656 5% /
/newroot/dev/cdroms/cdrom0
695772 695772 0 100% /mnt/cdrom
/dev/loop/0 53248 53248 0 100% /mnt/livecd
tmpfs 127960 1128 126832 1% /lib/firmware
/dev/sda3 1550220 989504 560716 64% /mnt/gentoo
/dev/sda1 40120 40120 0 100% /mnt/gentoo/boot
sda1 is full...so how were we able to do all this other stuff previously unless it was redirecting it to sda3? _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Mon Apr 04, 2005 3:15 am Post subject: |
|
|
Urlryn wrote: | /dev/sda1 40120 40120 0 100% /mnt/gentoo/boot
sda1 is full... |
You probably want to use ext2 on your /boot partition. A journalling filesystem will waste about 32MB, and doesn't make sense on such a small partition. |
|
Back to top |
|
|
Urlryn n00b
Joined: 02 Apr 2005 Posts: 34 Location: Houston, TX
|
Posted: Mon Apr 04, 2005 4:27 am Post subject: |
|
|
Hmm anyway to change it without having to start over since the boot partition is only 32MB?
Already spent 32 hours trying to get one installation done and its still not completed.
Ain't no way i'm starting over if i can help it hehe
I got it!
just backed up boot and formated as ext2 =) _________________ Urlryn@spymac.com
Intel PIII 700
1GB PC100 RAM
sda: SCSI 9GB Drive Adaptec 2940UW
hda: IDE 20GB Drive
Intel 10/100 Pro Network Card |
|
Back to top |
|
|
|