LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2004, 01:42 PM   #1
whishkah
Member
 
Registered: Mar 2004
Location: PA
Distribution: SuSE 10 OSS
Posts: 83

Rep: Reputation: 15
Install problem...help!!


Okay, I installed slackware. I then rebooted as it instructed; however, when I did, it came up with the kernel selection from mandrake. I did have mandrake 10 before I installed Slackware, but I thought since I formatted the hard drive it would not be on there. -So, anyone know what I should do? I am completely stumpped on this one. I even tried to reconfigure but when I select that option on the cd1 disk the screen just flashes.

thanks
 
Old 06-29-2004, 01:54 PM   #2
wasabi
Member
 
Registered: Aug 2003
Location: Charlotte, NC
Distribution: Fedora Core 3?
Posts: 95

Rep: Reputation: 15
i am a total noob, but if you recreate the partition structure and then write that to disk I doubt there is any way it would survive
 
Old 06-29-2004, 01:56 PM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
The partition structure is DBR but the boot loader is in MBR of the drive. To overwrite MBR you can use lilo or 'fdisk /mbr' from the prompt of a dos boot floppy.
 
Old 06-29-2004, 02:23 PM   #4
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
I copied this from one of the tutorials I wrote based on a 40GB HD. Change it around depending on size. If followed it will remove the problem and give you a clean install..... DON'T DO THIS UNLESS YOU WANT A CLEAN INSTALL

*************************************
Partitioning with CFDISK (40GB HDA)
*************************************
This partitioning scheme is designed for a 40GB hard disk. If your hard disk is smaller or larger you can adjust accordingly. [NOTE: This is the partioning scheme that I have always used. If you don't like the way that I distribute the space feel free to do it however you want.]

Quick tutorial for CFDISK: The up and down arrow keys will move you through the partitions. The left and right arrow keys will move you through the commands (at the bottom). The [ENTER] key will select the commands.

Type "cfdisk" at "root@slackware:/#" prompt and press [ENTER].


Delete whatever partitions are existing by using the arrow keys to move up and down. Select the partition you want to delete and then use the left and right arrow keys to select [Delete] and then press [ENTER] to delete it.


Now you should have one big piece of "Free Space", select the free space and press "N" (for New) "P" (for Primary). Now type in "150" as the amount and press [ENTER], press [ENTER] again to make it [BOOTABLE]. You should now have a line that reads "hda1 Boot Primary Linux 150.19"


Use the down arrow to select the "Free Space" and select "N" (for New) and "L" (for Logical) and type in "6000" for the amount and press [ENTER] this will be the "root" partition. You should now have a line that reads "hda5 Logical Linux 6000.14"


Next use the down arrow to select the "Free Space" and type "N", "L", use "20000" as the amount and press [ENTER] this will be the "home" partition. You should now have line that reads "hda6 Logical Linux 19999.76"


Use the down arrow to select the "Free Space" and type "N", "L", use "11000" as the amount and press [ENTER] this will be the "usr" partition. You should now have a line that reads "hda7 Logical Linux 11000.08"


Use the down arrow to select the "Free space" and type "N", "L", use "1173" as the amount and press [ENTER] this will be the "tmp" partion. You should now have a line that reads "hda8 Logical Linux 1173.09"


Use the down arrow to select the "Free Space" and type "N", "L", use "1173" as the amount and press [ENTER] this will be the "var" partion. You should now have a line that reads "hda9 Logical Linux 1179.09"


Use the down arrow to select the "Free Space" and type "N", "P", use "511.46" (or whatever is remaining) as the amount and press [ENTER], press "T" (for type), [ENTER], Where it reads "Enter filesystem type:" make sure it reads 82 (SWAP) and then press [ENTER] this will be the "SWAP" partition. You should now have a line that reads "hda3 Primary LInux swap 511.46".


Now use the right arrow key to toggle over to the [Write] command and press [ENTER], you will be asked "Are you sure yoiu want write the partition table to disk? (yes or no):" Type in "yes" and press [ENTER].
***WARNING*** If you have any data that is not backed up on your ENTIRE hard drive, IT WILL BE LOST.


You will get a message that reads "Writing table to disk...". When it is done press "Q" (for Quit). You will now be sent back to the "root@slackware:/#" prompt


At the "root@slackware:/#" prompt type "setup" and press [ENTER].


You should now see a screen that reads "Slackware Linux Setup (version 9.1.0), Use your down arrow to select "ADDSWAP Set up your swap partition(s)" and then press [ENTER]. You should see a screen that reads "SWAP SPACE DETECTED" and it should be the swap space that we created in step 9 of "Partitioning with CFDISK". Press [ENTER]. You will see a screen that reads "FORMATTING SWAP PARTITION". The next screen will read "SWAP SPACE CONFIGURED", it should tell you that "/dev/hda3 wil be added to your /etc/fstab". Press [ENTER].


. You should now see a screen that reads "Select Linux installation partition:" It also states "Please select a partition from the following list to use use for your root (/) Linux partition". Our "root" partition was defined in step 4 of "Partitioning with CFDISK" and is "/dev/hda5". Select /dev/hda5 and press [ENTER], select "Format Quick format with no ba block checking", use the up arrow key to select "ext3 Journaling version of the ext2fs filesystem" and press [ENTER]. Now you should see a screen that reads "SELECT INODE DENSITY FOR /dev/hda5", select "4096 1 inode per 4096 bytes. (default)", press [ENTER]. You should now see a screen that tells you it is formatting /dev/hda5. When it is finished go to step 4.


You should now see a screen that reads "Select other Linux partitions for /etc/fstab". This where you define all the partitions that we setup with CFDISK. The first one available is "/dev/hda1" it is already selected so press [ENTER], you should now see a screen that reads "FORMAT PARTITION /dev/hda1", select "Format Quick format with no bad block checking", press [ENTER], you will now see a screen that reads "SELECT FILESYSTEM FOR /dev/hda1", select "ext3 Journaling version of the ext2fs filesystem", press [ENTER], the next screen reads "SELECT INODE DENSITY FOR /dev/hda1", select "4096 1 inode per 4096 bytes. (default)", press [ENTER], you will see a screen that states the partition you select is being formated. The last screen that you will see states "SELECT MOUNT POINT FOR /dev/hda1" for /dev/hda1 we will use "/boot". !YOU MUST TYPE IN /boot EXACTLY! Press [ENTER], you will be taken back to the "Select other Linux partitiions for /etc/fstab" and the partition we just configured will read "(IN USE)"


Select "/dev/hda6", press [ENTER], "format" press [ENTER], arrow up to "ext3" press [ENTER], "4096" press [ENTER], type "/home" as the mount point, press [ENTER]


Select "/dev/hda7", press [ENTER], "format" press [ENTER], arrow up to "ext3" press [ENTER], 4096" press [ENTER], type "/usr" as the mount point, press [ENTER]


Select "/dev/hda8", press [ENTER], "format" press [ENTER], arrow up to "ext3" press [ENTER], "4096" press [ENTER], type "/tmp" as the mount point, press [ENTER]


Select "/dev/hda9", press [ENTER], "format" press [ENTER], arrow up to "ext3" press [ENTER], "4096" press [ENTER], type "/var" as the mount point, press [ENTER]


You should now get a screen that reads "DONE ADDING LINUX PARTITIONS TO /etc/fstab" Adding this information to your /etc/fstab:
/dev/hda5 / ext3 defaults 1 1
/dev/hda1 /boot ext3 defaults 1 2
/dev/hda6 /home ext3 defaults 1 2
/dev/hda7 /usr ext3 defaults 1 2
/dev/hda8 /tmp ext3 defaults 1 2
/dev/hda9 /var ext3 defaults 1 2

NOTE: The above diagram may look different depending on the partitioning scheme that you chose.
 
Old 06-29-2004, 02:36 PM   #5
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
In responce to subekk0:

I've done that before, but for some reason I just am not a fan of having that many partitions anymore. What I suggest is a swap partition, a /var, and everything else in /. The /var partition will prevent logs from filling up your whole hard drive and causing it to crash, and you don't have to worry about being too cramped for space if you download a DVD iso or if you like to have programs that take up a lot of space, like multiple games.
 
Old 06-30-2004, 07:32 AM   #6
subekk0
Member
 
Registered: Sep 2003
Location: Dallas, TX.
Distribution: Slacking since '94
Posts: 153

Rep: Reputation: 32
i guess i'm a purist.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Card problem(every time i install linux i have diffirent hardware problem) jacka1l Linux - Newbie 7 08-11-2005 06:10 AM
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 02:18 PM
problem after problem with kopete 0.8.4 install starking Linux - Software 0 08-13-2004 08:11 AM
dhcp problem in Debian netinst install..Help !! install. copter Linux - Networking 11 06-30-2004 01:14 PM
Install Problem SuseBoy Linux - Distributions 1 07-26-2003 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration