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
  •  


GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX picture

GIGABYTE A520M DS3H AC AMD AM4 Motherboard mATX

$59.99



GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5 picture

GIGABYTE Z790 AORUS ELITE AX LGA 1700 Intel Z790 ATX Motherboard with DDR5

$189.99



Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery picture

Intel H310 LGA1151 8-9th Gen DDR4 M.2 NVMe mATX Motherboard IO Shield Battery

$54.99



⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠ picture

⁠Intel H81 Motherboard M.2 NVMe LGA 1150 mATX w/ IO Shield (Random Slot Color)⁠

$29.90



GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard picture

GIGABYTE B365 HD3 LGA1151 Intel 9th Gen motherboard

$59.99



ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio picture

ASUS PRIME B360M-C MicroATX Intel LGA1151 DDR4 HDMI VGA USB RJ-45 Audio

$34.99



ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard picture

ASUS TUF GAMING B550-PLUS WIFI II AM4 AMD B550 ATX AMD Motherboard

$95.99



ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI  ATX RGB picture

ASUS PRIME Z370-A II LGA 1151 Intel Z370 DDR4 DIMM USB3.1 DVI ATX RGB

$69.99



ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield picture

ASUS PRIME Z490-V Motherboard Intel Z490 10th gen DDR4 LGA 1200 ATX w/ IO Shield

$84.99



Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK picture

Dell XPS 8940 Desktop Motherboard Intel H470 LGA1200 DDR4 K3CM7 KV3RP 427JK

$154.99