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
  •  


Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch

$439.00



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New picture

Cisco Catalyst C9130AXI-B WiFi 6 802.11ax Wireless Access Point Brand New

$101.99



Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module picture

Cisco Acacia DP04QSDD-E25-840 400G QSFP-DD Coherent DCO Transceiver Module

$699.99



Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch  W/ 2x PSU, 2x Power Cords picture

Cisco | N3K-C3232C | 32-Port 100G QSFP Network Switch W/ 2x PSU, 2x Power Cords

$205.00



CISCO Services Router C891F-K9, Grade B,  SKU 16188 picture

CISCO Services Router C891F-K9, Grade B, SKU 16188

$24.94



Cisco Catalyst WS-C2960X-48FPD-L 48-Port Gigabit Managed PoE+ Ethernet Switch picture

Cisco Catalyst WS-C2960X-48FPD-L 48-Port Gigabit Managed PoE+ Ethernet Switch

$69.99



Cisco C9200-48P-E Cisco POE Network Switch picture

Cisco C9200-48P-E Cisco POE Network Switch

$749.99



Cisco C3850-NM-2-10G picture

Cisco C3850-NM-2-10G

$75.00



CISCO INDUSTRIAL SWITCH IE-3100-8T2C-E New  picture

CISCO INDUSTRIAL SWITCH IE-3100-8T2C-E New

$1049.00