Find the answer to your Linux question:
Results 1 to 4 of 4
In GRUB, what exactly happens when "ramdisk=8196" is added to the "kernel" line? I have finally just gotten Gentoo installed for the first time, but when I first re-booted I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817

    What does GRUB ramdisk do?


    In GRUB, what exactly happens when "ramdisk=8196" is added to the "kernel" line?

    I have finally just gotten Gentoo installed for the first time, but when I first re-booted I had error messages kind of like:
    Code:
    Attempt to access beyond end of device
    01:00:rw=0, want=4163, limit=4096
    I Googled the "Attempt to..." message and found directions that I should add the ramdisk parameter. It apparently fixed the problem, but I don't know what it does. I didn't see any reference to ramdisk in the install instructions, so I can't help but think I made an error somewhere else....

  2. #2
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    I believe that ramdisk and initrd are refering to the same thing.

    The initrd is there to allow on the fly changes during boot up.

    Do you have an initrd on your GRUB setup? Or am I barking up the wrong tree?

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

  3. #3
    Linux Guru
    Join Date
    May 2004
    Location
    forums.gentoo.org
    Posts
    1,817
    Nerderello, I offer /boot/grub/grub.conf (the part that counts:
    Code:
    title=Gentoo Linux 2.4.25-R1
    root (hd0,0)
    kernel /kernel-2.4.25-gentoo-r1 root=/dev/ram0 init-linuxrc real_root=/dev/hdc2 ramdisk=8196
    initrd /initrd-2.4.25-gentoo-r1
    Note that "ramdisk" is NOT on its own line, but is part of the "kernel" line. Without the part "ramdisk=8196", I get the error message mentioned. The initrd line was there from the start, courtesy of Gentoo.

  4. #4
    Linux Engineer Nerderello's Avatar
    Join Date
    Apr 2003
    Location
    North East England
    Posts
    1,190
    hmm, not to sure.

    The root=/dev/ram0 and real_root parameters are not familiar to me.

    All of the stuff on the kernel line is arguments that are being passed thru to the kernel when it loads, so that is the area to look into.

    have fun

    Nerderello

    Use Suse 10.1 and occasionally play with Kubuntu
    Also have Windows 98SE and BeOS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •