Advertisement

Upgrading from Fedora to Debian

Started by November 29, 2003 11:28 PM
14 comments, last by HTML 21 years, 2 months ago
quote:
Yes you can see all the list of packages, it''s not with apt-get though but with an application sitting on top of it. The name is escaping me right now but I guess you could read over the text file where all the package names are stored.


Something like this:
Run this (as root): "apt-get install aptitude"
Then run "aptitude" (as root if you want to install stuff) in console. Nice and neat nested list of packages, it''s a good package management system. Give it a go, read the docs, etc.


Image loads when I''m online!The following statement is true. The previous statement is false.
Shameless promotion:
FreePop: The GPL Populous II clone.
My stuff.Shameless promotion: FreePop: The GPL god-sim.
Thanks, I am trying to install debian right now, but have 2 questions.

1) If I make a partition for /home, /usr, /var, and /tmp, how does linux know how to install all that stuff where. And how big should each of those partitions be? I am also thinking I could make all those partitions and just copy paste them to other the partitions but I am not sure if that would cause problems or not...

Basically...
How do I go about making these extra partitions? And how big should I make them?

2) After I install linux I get some errors about it not being unmounted or mounted correctly, so it fixes that. Not a big problem but it does it every time the computer boots so it is very annoying.

Secondly, after I installed debian, and tried startx. It gave me the error, "no screens found" even though I did installed window maker...

Thanks.
Advertisement
quote:
Original post by HTML
1) If I make a partition for /home, /usr, /var, and /tmp, how does linux know how to install all that stuff where. And how big should each of those partitions be? I am also thinking I could make all those partitions and just copy paste them to other the partitions but I am not sure if that would cause problems or not...

Basically...
How do I go about making these extra partitions? And how big should I make them?


For a desktop I''d break it up into just /boot (25-50 MB), /home (about 50%), and / partitions (about 50%). Not to mention the swap partition, of course. Adjust the sizes as you need to.

For a server, it''s advisable to at least place /var, /tmp, and /etc on their own partitions. Often, you''ll want to use different file systems and/or mounting options more adapted to the task each root directory would play and allow you to more directly have set quotas for disk usage in each directory (e.g., /tmp would never need a journaling file system since it''s discarded anyway in any event that''d use journal data; /var normally needs to do small and quick reads and writes; /etc, among others, might be better off read-only by default). The rest are kind-of optional, depending upon your preference.

If your /home partition is first, you can more easily resize the following partitions without risking the data on /home. Depending upon what you change, you may need to reinstall or backup the other partitions in the process, however.

quote:
Original post by HTML
2) After I install linux I get some errors about it not being unmounted or mounted correctly, so it fixes that. Not a big problem but it does it every time the computer boots so it is very annoying.

Don''t know exactly what you mean.

quote:
Original post by HTML
Secondly, after I installed debian, and tried startx. It gave me the error, "no screens found" even though I did installed window maker...

There are a lot of reasons that could happen. I advise installing a desktop manager (xdm, gdm, or kdm) and letting it worry about it. The desktop manager should be started automatically after installation but if it''s not, then run (as root) /etc/init.d/gdm start and hit Alt+F7. Of course, try not to use X as root (you can run GUI applications as root while logged in as another user, if you need to).

I installed gdm, kdm, and the other one (cant remember the name). Then I installed kde and that didnt work. I still get the same error.

For the partitioning problem, it happens before I install kde I think. I know I did it right though... I followed the guide from osnews.com on debian.
i have the same problem too with the mount stuff but it works perfectly so don''t worry about it. plus it scrolls so fast that you barely have time to read it.

Just type kdm other than startx. If it doesn''t work you will need to reconfigure your xserver since you must have done something wrong while configuring it. I am somewhat a linux newbie and really don''t remember what you have to type to be able to reconfigure it, but I know I had to do it a few times. Maybe somebody in these forums know...

Good Luck,

and remember, you did the hardest which is to have debian installed. Now the problems you are going to get can be easily fixed with a bit of dedication. Installing debian is always an adventure
Partitioning the drives so that / and /home are on different partitions doesn''t change anything as far as the system is concerned.

If you had everything on one partition, multiple partitions, or even multiple computers, /usr/bin is still where binaries go, /tmp is still the temp directory for applications to use, /home is still where user''s directories go, etc.

http://www.pathname.com/fhs/
Check it out. It is informative and basically tells you what the different directories are for.

So when you install your applications, libraries go in a specific directory, binaries go in another, etc. All the install knows is that stuff goes in certain directories. It just so happens that certain directories are mapped onto specific hard drive partitions in your case. That is one of the nice things about Unix/Linux. You don''t have a C: drive with all of the folders under it. You have logical directories. Instead of trying to remember if you installed a program on drive C: or D:, or if you have a CDROM on drive G: or I:, you generally know that all applications are under /usr/bin or some other ./bin/ or that /cdrom will have a link to your CDROM device. I know that if I want to check out my friend''s MP3 collection, I can go to /home/[username of friend] and probably find his MP3 folder.

I myself installed a newer, faster, bigger hard drive. I could simply copy files to it, and then make sure my system understands that hdb1 would be /usr and hdb2 would be /home. I could even have /usr/var on a different partition than /usr if I wanted to. The applications don''t care or know the difference. I can''t say the same on Windows for instance, since Program Files is on C:, and it is either impossible or difficult to tell Windows to treat Drogram Files as the proper default program install directory. If I wanted to have C:\Program Files be the general install directory, but have Program Files\Adobe be on a different drive, it isn''t possible in the same way. I can''t open Program Files on the C: drive and then open Adobe and access it on the D: drive without having setup my own shortcuts. If I decide to have it on the E: drive later, now my shortcut has to change. Heck, the registry would probably have to be edited.

On Unix/Linux, I can simply mount the partition as /usr/local/bin/Adobe and if I go to /usr/local/bin, I will see Adobe sitting next to all of the other installed applications. The system makes it transparent that there are two separate hard drives or even a hundred computers providing the filesystem.
-------------------------GBGames' Blog: An Indie Game Developer's Somewhat Interesting ThoughtsStaff Reviewer for Game Tunnel

This topic is closed to new replies.

Advertisement