Solved

Slackware Booting from HD problem

Posted on 2004-10-28
250 Views
Last Modified: 2013-12-15
I have just installed Linux Slackware 10.0, and cannot get it to boot from the HD.  I can get it to boot from the HD if I use the CD to boot it, and then type at the prompt:
bare.i root=/dev/hda1 noinitrd ro

How can I get it to boot from the HD?

More info:
I have created 2 partiions only. (swap and /)
I did not install a boot loader such as LILO. (Though I did this during my first attempt and the results were the same... no boot by HD)

Please Help!
0
Question by:sbreen
    6 Comments
     
    LVL 6

    Expert Comment

    by:blkline
    You haven't mentioned anything about your hardware, so I can't be sure about this in your case.    You also didn't mention any error messages or text that you receive so what I'm going to offer is traditional wisdom.  I occasionally have had the same problem as you and have completely eliminated it by following this rule:
     
    Always create a partition at the beginning of your drive to contain the /boot directory.  It should be a primary partition of around 100Mb.  Then you can create the partitions for the root directory (/), swap and any other partitions that you want.

    If you're game for another installation attempt, do it this way:

    Size         type          mount point
    100Mb   primary    /boot  
    2*RAM  primary   swap    
    remainder  of drive extended
                  entire extended    logical    /   (will be hda5)
    0
     

    Author Comment

    by:sbreen
    I do not get any error messages, just a blinking cursor after the MB goes through its boot devices (cd,fd,hd).  I am using a Dell Dimension 4100 with P3 1GHz, 512MB SDRAM, Generic Video Card, 2 Intel Pro 100 ethernet cards, and a new Maxtor 40GB HD (don't think this is the problem, but hafve not ruled it out yet.)  I would assume that all hardeare is fine because I have installed Linux Slackware 10.0 on this system before and had no problems.  I will try your advice as to create the /boot partiton as the first partition.
    0
     
    LVL 6

    Accepted Solution

    by:
    When you installed you did tell LILO or GRUB to install into the MBR, right?  It can also install into the partition but that's not what  you want to do in this case.
    0
     

    Author Comment

    by:sbreen
    Yes, I did have it install into the MBR.
    0
     
    LVL 6

    Expert Comment

    by:blkline
    Okay -- please post the results of your experiment then.
    0
     

    Author Comment

    by:sbreen
    I have finally got it to boot, it appears that the MBR was corrupt.  I was able to fix that, but am now getting an error upon booting that the superblock is corrupt and am working ona resolution to this.   It appears that my /etc/fstab file is corrupt.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    877 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now