Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
grub & swsusp2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
brianm
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 78
Location: Aurora, Illinois, USA

PostPosted: Sat Oct 23, 2004 11:05 pm    Post subject: grub & swsusp2 Reply with quote

On my last emerge -u world I upgraded to 2.6.9-rc1 of the gentoo-dev-sources. I manually set the options using menuconfig then compliled and copied to /boot/. I decided that I wanted to try swsusp2. So I patched the kernel and compiled. Again copied the System.map and vmlinux over to /boot/. I then changed grub.conf:
Code:
 kernel (hd0,0)/vmlinux root=/dev/hdb3

to:
Code:
 kernel (hd0,0)/vmlinux root=/dev/hdb3 resume2=swap:/dev/hdb2

Now when trying to boot, grub gives me:
Code:
 Error 13: Invalid or unsupported executable format


It would be nice to have this work. Too bad my knowledge is too limited to make that happen.
Help is greatly appreciated!
_________________
Registered Linux User Nr # 319050
Athlon 64 2.2 @2.5Ghz/1gb RAM/WD Raptors/Nvidia 6800 GT
Aluminum Powerbook G4 (12")
Back to top
View user's profile Send private message
Earthwings
Bodhisattva
Bodhisattva


Joined: 14 Apr 2003
Posts: 7753
Location: Germany

PostPosted: Sun Oct 24, 2004 12:12 am    Post subject: Re: grub & swsusp2 Reply with quote

brianm wrote:
Again copied the System.map and vmlinux over to /boot/.

You've got to copy /usr/src/linux/arch/i386/boot/bzImage to /boot, not /usr/src/linux/vmlinuz
Back to top
View user's profile Send private message
brianm
Tux's lil' helper
Tux's lil' helper


Joined: 17 Aug 2004
Posts: 78
Location: Aurora, Illinois, USA

PostPosted: Sun Oct 24, 2004 1:26 am    Post subject: Reply with quote

Thanks, that was the problem.

I'm still a little confused though. With all my previous kernels, copying over vmlinux worked just fine.
_________________
Registered Linux User Nr # 319050
Athlon 64 2.2 @2.5Ghz/1gb RAM/WD Raptors/Nvidia 6800 GT
Aluminum Powerbook G4 (12")
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum