Results 1 to 4 of 4

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

  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
  •  


OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2  for Dual 3.5 inch HDDs picture

OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs

$87.99



Dell - LSI 9440-8i MegaRAID 8 Port 12GB/s HBA High Profile RAID Card W/Cables picture

Dell - LSI 9440-8i MegaRAID 8 Port 12GB/s HBA High Profile RAID Card W/Cables

$20.00



Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i picture

Broadcom MegaRAID 9480-8e Fujitsu PRAID EP540e SAS RAID Card (Replac 9380-8e) 8i

$228.00



G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only picture

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage - Housing Only

$200.00



MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00 picture

MegaRAID 9580-8i8e 16-port 12G SAS/SATA/NVMe 8GB PCIe RAID - 05-50076-00

$1619.19



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV picture

Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV

$18.95



NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID picture

NVME M.2 Adapter Card PCIE X16 Splitter Expansion Controller 4-Disk Soft RAID

$24.43



Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004 picture

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004

$649.99



Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board picture

Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board

$300.00