LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-16-2005, 05:28 PM   #16
nomass
LQ Newbie
 
Registered: May 2005
Location: WA
Distribution: mandrake, linspire
Posts: 22

Original Poster
Rep: Reputation: 15

What do I do once I have the kernal source?
 
Old 06-16-2005, 06:38 PM   #17
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
ok, what kernel do you have now and what kernel did you get the sources for?

Do you know if you use grub or lilo?

do you have any fancy stuff like firewire game controlers or pcmcia

post the output of:

ls -a /boot/
 
Old 06-16-2005, 08:11 PM   #18
nomass
LQ Newbie
 
Registered: May 2005
Location: WA
Distribution: mandrake, linspire
Posts: 22

Original Poster
Rep: Reputation: 15
2.6.8.1-12mdk is the kernal I have I have not gotten any sorces yet as I just got home to my computer which is the one mandrake is on.

I don't know about grub or lilo.

. grub message-text
.. initrd-2.6.8.1-12mdk.img System.map
boot.0300 initrd.img System.map-2.6.8.1-12mdk
boot.0340 kernel.h us.klt
config kernel.h-2.6.8.1-12mdk vmlinuz
config-2.6.8.1-12mdk map vmlinuz-2.6.8.1-12mdk
diag1.img message
diag2.img message-graphic

is the output of "ls -a /boot/"
 
Old 06-16-2005, 09:10 PM   #19
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
wow I hate the formating on this forum it makes that so hard to read this should help you get the source:

http://www.linuxquestions.org/questi...hreadid=333026
 
Old 06-16-2005, 10:18 PM   #20
nomass
LQ Newbie
 
Registered: May 2005
Location: WA
Distribution: mandrake, linspire
Posts: 22

Original Poster
Rep: Reputation: 15
I have the source from kernel.org I got 2.6.11.12 what do I do now?
 
Old 06-16-2005, 10:42 PM   #21
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
fist make a backup of your kernel just in case something goes wrong take these 3 files and make a copy with -old appended to the end of the name (anything works as long as you can remember it but this is what I use)

vmlinuz-2.6.8.1-12mdk <- Your Kernel
initrd-2.6.8.1-12mdk.img <- Yor initrd
config-2.6.8.1-12mdk <- your kernel config

if I got any of these names wrong tell me when you posted the listing it jumbled all together if you post something else like this please put one thing per line 'cause the forum gets rid of the spaces

please post

/boot/grub/menu.1st
/boot/grub/grub.conf

you may or may not have both these files but it looks like you use grub
 
Old 06-16-2005, 10:53 PM   #22
nomass
LQ Newbie
 
Registered: May 2005
Location: WA
Distribution: mandrake, linspire
Posts: 22

Original Poster
Rep: Reputation: 15
ok sorry about that earlier post being all jumbled. I made copy's of the three files you said to and tagged them with -old at the end. I couldn't find either of the files in /boot that you asked for though I do have /boot/grub though. What now??
 
Old 06-16-2005, 11:01 PM   #23
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
what is "grub" in the post above? I may have read it wrong I have a directory called grub in /boot but you computer could be slightly different
 
Old 06-16-2005, 11:15 PM   #24
nomass
LQ Newbie
 
Registered: May 2005
Location: WA
Distribution: mandrake, linspire
Posts: 22

Original Poster
Rep: Reputation: 15
grub is a directory with 13 files in it
file:/boot/grub/e2fs_stage1_5
file:/boot/grub/fat_stage1_5
file:/boot/grub/ffs_stage1_5
file:/boot/grub/iso9660_stage1_5
file:/boot/grub/jfs_stage1_5
file:/boot/grub/minix_stage1_5
file:/boot/grub/reiserfs_stage1_5
file:/boot/grub/stage1
file:/boot/grub/stage2
file:/boot/grub/stage2_eltorito
file:/boot/grub/ufs2_stage1_5
file:/boot/grub/vstafs_stage1_5
file:/boot/grub/xfs_stage1_5
 
Old 06-16-2005, 11:41 PM   #25
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
perhaps you use lilo do you have a /etc/lilo.conf? post this do you have acces to a live cd? (usualy nothing bad will happen when you recompile your kernel but just incase)

have you unpacked the kernel sources to /usr/src/linux ?
 
Old 06-17-2005, 09:43 AM   #26
nomass
LQ Newbie
 
Registered: May 2005
Location: WA
Distribution: mandrake, linspire
Posts: 22

Original Poster
Rep: Reputation: 15
I don't have a directory named etc/lilo

All I have is a linspire live CD a knoppix live CD and the 3 intall discs for mandrake.
 
Old 06-17-2005, 10:29 AM   #27
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
weird, If you use grub you should have a /boot/grub/menu.1st

and if you use lilo you should have a /etc/lilo.conf

I checked and mandrake 10.1 should use lilo by default. but if you have knoppix around I wouldn't worry you can use that if anything goes wrong

you should have the kernel sources installed in:

/usr/src/linux

(if not:

cd /usr/src/
tar -xjf "full path and filename of the kernel source you downloaded")

then:

cd /usr/src/linux/
cp /boot/config-2.6.8.1-12mdk /usr/src/linux/.config
make oldconfig

(this will copy your kernel config and configure the new kernel just like the old one)

make menuconfig <- this will pull up a menu to change some things

HFS+ should be in:
Filesystems -> Miscellaneous filesystems -> Apple Extended HFS file system support
turn this on (if you know what kind of file system you use on your hd you can make sure it's turned on in here to, I always do)

EFI partition support is in:
Filesystems -> Partition types -> EFI GUID Partition support
turn this off

exit the menu
- now your kernel should be configured but not compiled -
if you get any errors or questions ask me.
 
Old 06-17-2005, 12:09 PM   #28
WuTanZan
LQ Newbie
 
Registered: Jun 2005
Distribution: Mandriva 2009.1
Posts: 18

Rep: Reputation: 0
Hi. Sounds like you are on the way to building your first kernel. I would advise that you use the Mdk kernel sources that correspond to 10.1, rather than vanilla source from kernel.org. The Mdk source rpm is called kernel-2.6.8.1.12mdk-1-1mdk.src.rpm.
Mandriva patch the source (as do Suse, Fedora) so you may introduce new problems by running an unpatched kernel. Also, I saw a post in the Mandriva Club that seemed to indicate that LE 2005 (10.2) can be used with the ipod without rebuilding the kernel - it might be time for an update.
I donīt have an ipod myseld so i canīt verify this. Best of Luck!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iPod input/output issues phoenixx Linux - Hardware 5 06-03-2005 05:27 PM
ipod/ipod shuffle woes (lack of permissions to edit files) Lechium Linux - Software 1 04-13-2005 03:14 PM
Install Suse on Ipod and boot from Ipod??? lemuel Linux - Newbie 4 12-27-2004 07:04 AM
ipod detected and added by kudzu but no files in /mnt/ipod gtan Linux - Hardware 5 08-31-2004 09:19 AM
iPod issues after reformat GT_Onizuka Linux - Hardware 0 04-11-2004 05:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration