?
Solved

Slackware Booting from HD problem

Posted on 2004-10-28
6
Medium Priority
?
258 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
Comment
Question by:sbreen
  • 3
  • 3
6 Comments
 
LVL 6

Expert Comment

by:blkline
ID: 12434258
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
ID: 12434569
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:
blkline earned 1000 total points
ID: 12434644
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
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 

Author Comment

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

Expert Comment

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

Author Comment

by:sbreen
ID: 12437570
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

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

599 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