LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-29-2003, 02:35 PM   #16
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15

I've been having problems with some other stuff on Linux and I ended up reinstalling it, and this time when I installed the graphics driver Sax2 says that 3d is enabled........whatever. Its working great though
 
Old 12-29-2003, 05:12 PM   #17
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by yzrider210
I've been having problems with some other stuff on Linux and I ended up reinstalling it, and this time when I installed the graphics driver Sax2 says that 3d is enabled........whatever. Its working great though
Do you know that if you reinstall, you don't have to lose all your personal settings? Almost all of them are in your /home directory, so don't format that partition, and you'll still have it all intact. In Slackware, for instance, you'll have to assign it a mount point and add it to /etc/fstab but you do not need to format it.

I don't advocate "reinstalling" in *nix, because it's possible to access anything and fix the problem. However, I have done it several times, because I couldn't find out from reading, Googling, and posting at LQ how to fix something. After a few days it was more expedient.

Hope this helps if you go that route again.

 
Old 12-29-2003, 07:17 PM   #18
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
I don't get exactly how to do that.....I tried when I reinstalled this time........That would be in the / partition? I don't get how you keep that and reinstall everything else in the / partition.......
 
Old 12-29-2003, 07:41 PM   #19
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by yzrider210
I don't get exactly how to do that.....I tried when I reinstalled this time........That would be in the / partition? I don't get how you keep that and reinstall everything else in the / partition.......
You cannot if you install everything to the / partition. However, if you setup a separate /home partition, then it's easy. I guess you could copy the /home directory from your / partition to a shared partition in your Windoze system, if you have one, and then copy it back after you reinstall. However, it's much easier to setup a /home partition in your Linux distro in the beginning.

I've never used SuSE, so I don't know how you install, or how you partition your hard drive. In Slackware we choose between fdisk and cfdisk. I use fdisk, and here's how I setup my partitions. I have 2 identical Maxtor 60GB hard drives.

Code:
# fdisk -l /dev/hda /dev/hdb

Disk /dev/hda: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         383     3076416    b  W95 FAT32
/dev/hda2             384        7476    56974522+   f  W95 Ext'd (LBA)
/dev/hda5             384        3571    25607578+   b  W95 FAT32
/dev/hda6            3572        3583       96358+  83  Linux
/dev/hda7            3584        3826     1951866   82  Linux swap
/dev/hda8            3827        3948      979933+  83  Linux
/dev/hda9            3949        6744    22458838+  83  Linux
/dev/hda10           6745        7352     4883728+  83  Linux
/dev/hda11           7353        7476      995998+  83  Linux

Disk /dev/hdb: 61.4 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1         765     6144831    b  W95 FAT32
/dev/hdb2             766        6353    44885610    f  W95 Ext'd (LBA)
/dev/hdb5             766        2528    14161266   83  Linux
/dev/hdb6            2529        6353    30724281    b  W95 FAT32

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda8             957M  688M  269M  72% /
/dev/hda6              95M   37M   58M  39% /boot
/dev/hda9              22G  1.2G   21G   6% /home
/dev/hda10            4.7G   62M  4.6G   2% /var
/dev/hda11            973M   35M  939M   4% /tmp
/dev/hdb5              14G  2.3G   12G  17% /usr
/dev/hda5              25G   21G  4.4G  83% /WinE
/dev/hdb1             5.9G  4.3G  1.7G  73% /WinD
/dev/hdb6              30G   15G   16G  48% /AppSwap
I setup all the Linux partitions using fdisk while installing Slack. The Windoze partitions were setup using Disk Manager (Seagate utility) before installing Win2000. I use FAT32 on the Win2000 OS so that I can ghost the drive; and I use FAT32 on the other Windoze partitions so that I can read and write to them in Slack. In Slack I use ReiserFS on all the partitions, except, of course, the swap partition.

When I chose to reinstall, I did not format the /dev/hda9 partition that holds my /home directory, but just mounted it and added it to /etc/fstab. I found that was very easy to do with the Slack setup.

If you ever decide to change distros, I'd suggest Slack. Before starting, print the Slackware-HOWTO file from CD1, and it will give you all the information you need to setup Slack very easily IMO.
 
Old 12-29-2003, 07:46 PM   #20
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
OK, the way I have my Linux install setup is I have a swap partition and a partition with everything else on it, so I can't do that the way I have it setup now, except to copy the files somewhere else, then replace the blank home with the old files. Thanx for the help
 
Old 12-29-2003, 08:07 PM   #21
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
You should setup different partitions when you first install your system. The commercial distributions (like SuSE) may not make that option very clear to you.
 
Old 12-29-2003, 08:20 PM   #22
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
whats the advantage to that besides being able to reinstall a little easier?
 
Old 12-29-2003, 08:49 PM   #23
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by yzrider210
whats the advantage to that besides being able to reinstall a little easier?
If something happens and I hose my system, which I have done, I can just reinstall and not lose my personal settings in programs such as Mozilla. My bookmarks are in the /home partition. My mail from KMail is in my /home partition, as well as the personal settings for it. Just about all the personal settings for everything from your desktop, to software run under Wine (software designed for Micro$loth only), are contained in your /home partition. If you keep everything under / and you reinstall, then you'll have to start all over. That can really be disappointing, especially after you've used your system for a while. If you didn't document everything you did, you'll probably not be able to restore your personal settings. And even if you do, it'll take a lot of time.

Also, if you receive some spam that would fill your inbox, when you keep everything under / it can grind your system to a halt. If you have a separate partition for /var, then it will just go into /var/spool/mail and when that partiton is full, the damage stops. You won't lose the functionality of your entire system. You should also have a separate /tmp partition.

These are some of the things you'll want to read about. Read how the linux kernel operates, and what goes in those separate directories. Decide what you want to use your comp for, and then you can set it up more for your specific needs.

These are some quotes from the site of Markus Welsch, a knowledgeable LQ member.
Quote:
Partitioning the harddisk

This is not only required for security reasons but also for tuning and others. If you have created your linux systems like by creating 2 partitions (1 swap, 1 linux using up the rest of the disk) like some people tend to do because of lazyness, "less managability with a lot of partitions" and various other reasons. I do not share this thought - like other people also do. As program for partitioning I suggest using fdisk. If you have a brand new disk just enter a virtual console and partition the harddisk for the purposes of the system you are installing.

Generally you can use following rules for partitioning:

* directories with write permissions for users (/home, /tmp, /var/tmp and others) should be on a seperate partition to prevent users from making your system unusable

* directories which can expand in size quickly (/var/cache, /var/log and others depending on the tasks of the system) should be on a seperate partition

* following the File Hierarchy Standard, non-distribution software (for example software you compiled yourself) should be put at /opt or /usr/local, which should be on a seperate partition
I hope this helps "get you down the road." I'm learning that *nix is more versatile than I could ever have imagined. It's fulfilling all my computing needs. The documentation is quite esoteric, and it seems that if you ask 10 people "How-To" about the same subject, you can get 15 answers, and they all say "that worked for me," but then none of them will work for you.

So, you have to read and learn how some stuff works, and take some things with a grain of salt. And remember, here at LQ anyone is free to post their opinion, and sometimes they'll just post a guess. So, we are responsible for what we execute on our own system. After a while you'll notice who posts and really knows what they're talking about.
 
Old 12-29-2003, 10:27 PM   #24
yzrider210
Member
 
Registered: Oct 2003
Location: Nor Cal
Distribution: SuSE 9.0 Pro
Posts: 130

Original Poster
Rep: Reputation: 15
OK, thanx a lot for the info. Next time I reinstall (which will be very soon, I'm switching out comps within the next month) I will look into doing that with SuSE.
 
Old 12-29-2003, 11:09 PM   #25
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by yzrider210
OK, thanx a lot for the info. Next time I reinstall (which will be very soon, I'm switching out comps within the next month) I will look into doing that with SuSE.
In the meantime, search and find out how to copy your present /home directory to one of your writable Windoze partitions, so when you reinstall you can just copy it back and keep all those little settings you've been working on so diligently
 
  


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
PLease help cannot enable DMA sendas4 Linux - Newbie 12 04-09-2007 12:36 PM
How to enable modules beejayzed Linux - Newbie 1 02-02-2004 05:18 AM
How to enable DMA? Piero Linux - Hardware 14 07-21-2003 06:05 AM
enable xinetd rlasse Linux - Newbie 4 07-17-2003 01:08 PM
Should i enable zlib? jim64 Linux - Software 0 07-12-2003 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:46 AM.

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