Professional Web Applications Themes

Is there a log file containing the kernel parameters used? - Linux Setup, Configuration & Administration

Hello! My question is way below, if you are in a hurry... ;-) I am currently trying to install SuSE 9.0 on some old HW (Pentium 133MHz, 48MB RAM)to have a firewall internet-router-computer at home. To get the OS onto the computer was quite tricky because the CD-ROM wouldn't boot and the DISK set failed with a "CRC error" (indepentend of the disks i used and the BIOS settings). So i made a DOS-Bootdisk with loadlin on it to boot the stuff in the SUSECDROM1\boot\loader (or similar) folder. Then i had to insert my second hd into my other computer ...

Sponsored Links
  1. #1

    Default Is there a log file containing the kernel parameters used?

    Hello!


    My question is way below, if you are in a hurry... ;-)


    I am currently trying to install SuSE 9.0 on some old HW (Pentium
    133MHz, 48MB
    RAM)to have a firewall internet-router-computer at home.
    To get the OS onto the computer was quite tricky because the CD-ROM
    wouldn't boot and the DISK set failed with a "CRC error" (indepentend
    of the disks i used and the BIOS settings).

    So i made a DOS-Bootdisk with loadlin on it to boot the stuff in the
    SUSECDROM1\boot\loader (or similar) folder.
    Then i had to insert my second hd into my other computer to make a
    swap partition. And reinstall it in the old computer.
    Now i could install SuSE and everything seemed to work...
    ....until the first reboot.
    The kernel said: Cannot mount root fs on 03:01 (wich is a reiserfs on
    /dev/hda1).
    The reiser module seems to be part of the initrd so this cannot be the
    problem
    and the major and minor number also seems to be correct according
    to ls -l /dev/hda1. Neither GRUB nore LILO seem to work.

    Right now, i have to use my dos-bootdisk, boot the installation system
    from
    the cd-rom and have to chose "Boot installed system". After the HD
    check,
    i can boot from /dev/hda1 without any problems.



    This is --finally-- my question:

    Is there a way to find out all kernel parameters the were used for the
    last
    system boot so i can find out the difference between both ways of
    booting?
    Maybe some kind of boot log?


    Thanx,
    RAG
    Sponsored Links
    RAG Guest

  2. #2

    Default Re: Is there a log file containing the kernel parameters used?

    Hello

    RAG (<Com>) wrote:
     

    Well, this is the error message you typically get if the root file
    system is not supported by the kernel. If there would be a problem with
    accessing the root device itself (like missing IDE support), you would
    get a different error message.
     
     

    Try dmesg | grep command. Mine looks like this:

    Kernel command line: BOOT_IMAGE=Linux ro root=307 quiet hdc=ide-scsi
    hdd=ide-scsi max_scsi_luns=1

    However, if your system cannot mount the root file system, it also
    cannot write any log files. Maybe you should double-check your boot
    loader configuration to see if the initrd is actually used. If anything
    else fails, try to recompile the Kernel and build reiserfs support into
    it.

    best regards
    Andreas Janssen

    --
    Andreas Janssen
    com
    PGP-Key-ID: 0xDC801674
    Registered Linux User #267976
    Andreas Guest

  3. #3

    Default Re: Is there a log file containing the kernel parameters used?

    RAG wrote: 

    cat /proc/cmdline

    --
    Markku Kolkka
    fi
    Markku Guest

  4. #4

    Default Re: Is there a log file containing the kernel parameters used?

    Thanx very much!


    Yes, you are right, there is no log file if i cannot mount the
    root device. But i can boot using the "disc->CDSetup->BootInstalledSystem"
    method. If i know the boot params used there, i can compare them to the
    params used by GRUB.

    I already had a look at the /var/log/boot.msg file but i did not find
    any kernel params in it.
    Does the dmesg show more than the boot.msg file?


    Ciao,
    RAG
    RAG Guest

  5. #5

    Default Re: Is there a log file containing the kernel parameters used?

    Thanx.


    Will try this out this evening.


    Ciao,
    RAG
    RAG Guest

Similar Threads

  1. Configuring Kernel Parameters for Multiple Instances
    By DOKNIK in forum Oracle Server
    Replies: 1
    Last Post: October 17th, 12:18 AM
  2. [beginner] Setting kernel parameters
    By Francesco in forum Sun Solaris
    Replies: 6
    Last Post: September 8th, 04:05 PM
  3. kernel source (file name and location)
    By M.Forbes in forum Debian
    Replies: 5
    Last Post: August 24th, 09:40 AM
  4. Onconfig file parameters
    By Harki Rehal in forum Informix
    Replies: 3
    Last Post: August 11th, 08:58 AM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139