Results 1 to 4 of 4

Thread: what is this? echo "0x100" > /proc/sys/kernel/r

Hybrid View

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    29

    what is this? echo "0x100" > /proc/sys/kernel/r

    While trying to speed up booting time, I came to these lines in linuxrc:

    # Change root device from /dev/fd0 to /dev/ram0
    echo "0x100" > /proc/sys/kernel/real-root-dev

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: what is this? echo "0x100" > /proc/sys/kern

    --Don't worry about it, anything with a 0x in front of it is Hexadecimal notation. I suck at math; but if my experiment with ' bc ' is correct, 0x100 == 256 Decimal.

    --I wouldn't touch that line IIWY.

    Quote Originally Posted by tealeaf
    While trying to speed up booting time, I came to these lines in linuxrc:

    # Change root device from /dev/fd0 to /dev/ram0
    echo "0x100" > /proc/sys/kernel/real-root-dev

  3. #3
    Member registered user
    Join Date
    Sep 2003
    Posts
    67
    You are correct about your hexadecimal conversion.

    To learn more look at: http://vwop.port5.com/beginner/bhextut.html

  4. #4
    Junior Member registered user
    Join Date
    Apr 2003
    Posts
    22

    Re: what is this? echo "0x100" > /proc/sys/kern

    Quote Originally Posted by tealeaf
    While trying to speed up booting time, I came to these lines in linuxrc:

    # Change root device from /dev/fd0 to /dev/ram0
    echo "0x100" > /proc/sys/kernel/real-root-dev
    I think it does exactly what the comment says it does. It changes the root-device from /dev/fd0 (which is the first floppy drive, booting from cdrom also emulates a floppy) to /dev/ram0.

    normally this is done with pivot_root (see "man pivot_root") but I guess they didn't have space to include that on the floppy image.

    That guys above was right when he said you should leave this line alone

Similar Threads

  1. "/usr/bin/find: /proc/1/fd: Permission Denied"
    By marksalot in forum Customising & Remastering
    Replies: 0
    Last Post: 05-13-2005, 07:49 AM
  2. "Freeing unused kernel memory..."
    By bmoore in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-26-2005, 04:00 PM
  3. "enter your correct kernel source tree"????
    By Probert31 in forum Hardware & Booting
    Replies: 0
    Last Post: 03-24-2005, 05:08 AM
  4. Problem with "root=" kernel command-line argument
    By LukeyBoy in forum General Support
    Replies: 3
    Last Post: 03-24-2004, 02:35 PM
  5. knoppix 3.2 " unknown bus type 2" at kernel boot,
    By deverbone in forum Hardware & Booting
    Replies: 2
    Last Post: 08-19-2003, 02:03 PM

Posting Permissions

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


INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU picture

INTEL XEON E5-2680V4 SR2N7 2.40GHZ CPU

$11.00



Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS picture

Dell Precision Tower 7810 Xeon E5-2630 v3 @ 2.40GHz , 32GB Ram, NO HDD, NO OS

$239.99



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA picture

Dell Precision T7820 2x Xeon Silver 4114 2.20GHz 950W No RAM GPU HDD 4x SATA

$350.48



Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 Workstation 3.70GHz W-2135 No RAM/ GPU/ HDD/ OS

$179.98



Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km picture

Intel Xeon E5-2690 v4 SR2N2 14 Core 2.6GHz 35MB LGA2011-3 CPU *km

$15.99



Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor picture

Intel Xeon E3-1230 v3 SR153 3.3GHz Quad Core LGA 1150 CPU Processor

$14.49



Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor   picture

Intel Xeon Phi 5110P 60-Core 1.053GHz Coprocessor

$50.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98