Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help With grub.conf
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 2:01 am    Post subject: Reply with quote

nop he still writes it
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 13, 2005 2:13 am    Post subject: Reply with quote

Have you disabled the support for devfsd in the kernel?
Code:
     File systems  --->
         Pseudo filesystems  --->
                [ ] /dev file system support (OBSOLETE) 
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 2:20 am    Post subject: Reply with quote

i dont thinks so ,

but can you plz tell me how to get there?
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 13, 2005 2:29 am    Post subject: Reply with quote

OK.

Follow these steps
Code:
# cd /usr/src/linux
# make menuconfig

Here select File systems, then Pseudo filesystems and now make sure that the box for /dev file system support (OBSOLETE) is not selected.
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 2:33 am    Post subject: Reply with quote

oh ok , yes it is selected , how do
i deselect it ?
Back to top
View user's profile Send private message
zonk
Apprentice
Apprentice


Joined: 23 May 2005
Posts: 176

PostPosted: Mon Jun 13, 2005 2:35 am    Post subject: Reply with quote

it says near the top part of the screen. :?
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 2:37 am    Post subject: Reply with quote

oh oops i didnt see it


edit :
and it still writes it
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 13, 2005 2:55 am    Post subject: Reply with quote

Did you recompile the kernel, copied the file to /boot and rebooted the system?
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 11:16 am    Post subject: Reply with quote

yes i recompiled the kernel , but didnt copy
the file to /boot and rebooted the system
how do i copy it ?
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Mon Jun 13, 2005 12:09 pm    Post subject: Reply with quote

Code:

cp arch/i386/boot/bzImage /boot/kernel-your-kernel-version (capital I in bzImage, name has to be the same as in grub.conf)
cp System.map /boot/System.map-your-kernel-version

_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 12:26 pm    Post subject: Reply with quote

When i do :

Code:

cp arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r7


he says :
cp : cannot stat 'arch/i386/boot/bzImage' : No such file or directory
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Mon Jun 13, 2005 12:27 pm    Post subject: Reply with quote

you are in the directory /usr/src/linux yes?

just checking
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 12:30 pm    Post subject: Reply with quote

yes i am
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Mon Jun 13, 2005 12:34 pm    Post subject: Reply with quote

ok let me get this straight

you did:

Code:

make && make modules_install (after selecting the relevant things in the config)


and now your bzImage isn't there?
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 12:37 pm    Post subject: Reply with quote

no its not :roll:


oh but i have bzImage on a folder on :

/arch/x86_64/boot
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Mon Jun 13, 2005 12:40 pm    Post subject: Reply with quote

...oh your 64bit huh?

cool yeh copy that
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 12:44 pm    Post subject: Reply with quote

oh ok it worked :D

what next ?
exit
cd
umount ..
reboot ?
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Mon Jun 13, 2005 1:28 pm    Post subject: Reply with quote

wooo

Code:

exit
cd
umount /mnt/gentoo/proc /mnt/gentoo/boot /mnt/gentoo
reboot

_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
InFeRnaL
n00b
n00b


Joined: 08 Jun 2005
Posts: 63

PostPosted: Mon Jun 13, 2005 1:30 pm    Post subject: Reply with quote

omg it still writes :

/sbin/rc: line 271: /sbin/devfsd: No such file or directory [!!]
Back to top
View user's profile Send private message
Tatewaki
n00b
n00b


Joined: 13 Jun 2005
Posts: 38
Location: Denmark

PostPosted: Mon Jun 13, 2005 2:36 pm    Post subject: Reply with quote

Hi was hoping i was able to get some help with grub to.

I have followed the handbook installation guide so my /dev/hda looks like:

/dev/hda1 boot
/dev/hda2 swap
/dev/hda3 root


and my grub.conf looks like this:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.11-r9
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.6.11-gentoo-r9


I'm trying to set this up on WMWare 5.
I hope somebody can help
_________________
Do we watch anime to live or do we live to watch anime?
Back to top
View user's profile Send private message
AliasXZ
l33t
l33t


Joined: 08 Feb 2005
Posts: 847
Location: England, Wakefield

PostPosted: Mon Jun 13, 2005 2:49 pm    Post subject: Reply with quote

both of you check your fstab files...

from livecd
after you have chrooted into your installation
Code:

nano -w /etc/fstab

Code:

checck all drives are set something like this

/dev/yourboot      /boot     yourfs      defaults,noauto    1 2
/dev/yourswap     none      none        sw                      0 0
/dev/yourroot      /            yourfs      noatime               0 1


/dev/cdroms/cdrom0     /mnt/cdrom    auto    noauto,user   0 0 

none                  /dev/shm               tmpfs          nodev,noexec,nosuid        0 0


has to be your fstab...
_________________
Main:
Kernel: 5.4.38 amd64
RAM: 4GB
Lappy:
Macbook Pro 10.14.6
------------------------------
Please add (solved) to your first post when your issue is resolved 8)
Back to top
View user's profile Send private message
Tatewaki
n00b
n00b


Joined: 13 Jun 2005
Posts: 38
Location: Denmark

PostPosted: Mon Jun 13, 2005 4:22 pm    Post subject: Reply with quote

My fstab looks like this:
Code:

/dev/hda1    /boot     ext2              defaults,noatime       1 2
/dev/hda2    none      swap              sw                     0 0
/dev/hda3    /         ext3              noauto,use             0 1
/dev/cdrom/cdrom0   /mnt/cdrom    auto   noauto,use             0 0

none          /proc       proc              defaults                    0 0
none          /dev/sha    tmpfs             nodev,nosuid,  noexec       0 0

Is it like it should be?
_________________
Do we watch anime to live or do we live to watch anime?
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 13, 2005 5:16 pm    Post subject: Reply with quote

Tatewaki wrote:
My fstab looks like this:
Code:

/dev/hda1    /boot     ext2              defaults,noatime       1 2
/dev/hda2    none      swap              sw                     0 0
/dev/hda3    /         ext3              noauto,use             0 1
/dev/cdrom/cdrom0   /mnt/cdrom    auto   noauto,use             0 0

none          /proc       proc              defaults                    0 0
none          /dev/sha    tmpfs             nodev,nosuid,  noexec       0 0

Is it like it should be?


Hi.

It will be hard to boot your system with
Code:
/dev/hda3    /         ext3              noauto,use             0 1

You surely need / to be mounted for your system to work. Remove the noauto parameter. I also don't know that use parameter, but it might just be ignorance. Replace that line with
Code:
/dev/hda3    /         ext3              defaults,noatime             0 1
Back to top
View user's profile Send private message
Tatewaki
n00b
n00b


Joined: 13 Jun 2005
Posts: 38
Location: Denmark

PostPosted: Mon Jun 13, 2005 5:30 pm    Post subject: Reply with quote

Okay i have done that, so now i should be able to boot with the grub.conf i posted?
_________________
Do we watch anime to live or do we live to watch anime?
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Jun 13, 2005 5:33 pm    Post subject: Reply with quote

I think you should, but there's nothing like trying! :wink:
If it doesn't work, you can use the GRUB shell in the boot menu to do some debugging or use the live-cd to boot and edit the file again.


Last edited by jmbsvicetto on Mon Jun 13, 2005 11:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
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