LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-20-2007, 09:26 AM   #196
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55

Using b-trees:
Quote:
Originally Posted by man tune2fs
The following filesystem features can be set or cleared using
tune2fs:

dir_index
Use hashed b-trees to speed up lookups in large
directories.
Quote:
Originally Posted by man e2fsck
-D Optimize directories in filesystem. This option causes e2fsck
to try to optimize all directories, either by reindexing them if
the filesystem supports directory indexing, or by sorting and
compressing directories for smaller directories, or for filesys‐
tems using traditional linear directories.

This is the default options for Suse10.2 ext3. reiserfs uses this in its structure.

Use at your own risk.
I did it just now and my system is still running


SAVE ALL YOUR WORK, EVERYTHING OPENED WILL BE LOST.
Code:
su -
<enter root password>
telinit 1
<enter root password>
mount / -o remount,ro            <-- my / is /dev/hda3
umount /home                     <-- I have a /home it's /dev/hda2
umount /var                      <-- I have a /var it's /dev/hda4
tune2fs -O dir_index /dev/hda2
tune2fs -O dir_index /dev/hda3
tune2fs -O dir_index /dev/hda4
e2fsck -p -D -f /dev/hda2
e2fsck -p -D -f /dev/hda3
e2fsck -p -D -f /dev/hda4
mount / -o remount,rw
mount /var
reboot
If you have only one partition, just skip the others

Last edited by nx5000; 04-20-2007 at 09:30 AM.
 
Old 05-07-2007, 12:42 PM   #197
Sargek
Member
 
Registered: Jan 2003
Location: San Antonio, Texas
Distribution: Debian testing
Posts: 416

Rep: Reputation: 32
Nvidia driver install

I have found this to work every time for me:

http://tinyplanet.ca/~lsorense/debia...-dri-howto.txt

Coming off years of Gentoo, it is bizzare and more difficult than building things the manual way, at least to me, but it has not failed me, yet...hope someone finds this useful.
 
Old 08-17-2007, 12:34 AM   #198
sharadgaj
LQ Newbie
 
Registered: Aug 2007
Posts: 1

Rep: Reputation: 0
Question debian 4.0 ntfsmount

Thanks for the very good information about after install...

Recently i have downloaded Debian r4.0 and compiled ntfsprogs along with library. After invoking command

ntfsmount /dev/win_ntfs win_c

i get an erro massage

fusermount: unable to locate /dev/fuse . No Such file or Directory
fuse_mount failed
unmounting win_ntfs

I Tried with creating file as well as directory fuse in /dev but it doesnot solve my problem...
Can you throw some light in this
 
Old 10-17-2007, 12:19 PM   #199
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
I Love Debian
 
Old 12-14-2007, 01:53 AM   #200
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 60
I think this thread is like wet ice on wet ice, nothing sticky about it. Debian is not what it used to be. Debian has evolved.
 
Old 04-20-2009, 11:48 AM   #201
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Original Poster
Rep: Reputation: 52
New Xorg

With the new implementation of xorg, there are problems with the configuration if your hardware is a different or for other unforseeable reason.

I'm using Sid and my SiS driver for video is buggy, so i changed it to "vesa", that stopped the freeze ups. Here's my /etc/X11/xorg.conf, it might help someone :

Code:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "es"
EndSection

Section "InputDevice"
        Identifier "Configured Mouse"
        Driver "mouse"
EndSection

Section "Device"
        Identifier "SiS"
        Driver "vesa"
        BusID ""
EndSection

Section "Monitor"
        Identifier "Generic Monitor"
        Option "DPMS"
        HorizSync 31-70
        VertRefresh 50-160
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device "SiS"
        Monitor "Generic Monitor"
        DefaultDepth 16
 SubSection "Display"
            Depth 16
            Modes "1024x768" "800x600" "640x480"
 EndSubSection
 SubSection "Display"
            Depth 24
            Modes "1024x768" "800x600" "640x480"
 EndSubSection
EndSection

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        Option "StandbyTime" "3" # Turn off screen in 3 minutes (DPMS)
        Option "OffTime" "15" # Turn off DPMS monitor (DPMS)
EndSection

Section "ServerFlags"
        Option "AllowEmptyInput" "0"
        Option "AutoAddDevices" "0" # will turn off the HAL Features
        Option "DontZap" "Off" # Enables ctrl-alt-del
EndSection
Thanks to the boys from Sidux and anticapitalista from the antiX forums
 
Old 07-16-2009, 04:30 AM   #202
Tony Bradley
LQ Newbie
 
Registered: May 2006
Location: Plymouth UK
Distribution: Debian
Posts: 14

Rep: Reputation: 1
Menu Configuration Question

One of the great things about Debian is the plethora of apps available. However, this can also cause problems: Due to the sheer number of programs, the menu system for selecting an application rapidly becomes unweildy.
Is there a way of rearranging the menu system using folders so that applications can be grouped according to taste?
 
1 members found this post helpful.
Old Today, 07:35 AM   #203
mzsade
Member
 
Registered: Sep 2009
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 160

Rep: Reputation: 20
This Sticky hasn't been updated in a while and even though i do not imagine for a moment that i could improve on it in any way, i am hoping that my real time implementation of post-installation debian configuration as applied to Jessie while i do it now may be of some use.
The final goal is a minimal Debian Jessie install with a conveniently configured standalone OpenBox.

So if permitted here goes:

During installation i had ticked the box marked "Yes" when asked about non-free software and also the box marked "backports" when configuring apt. I had also unticked everything except Standard System Utilities when given the option to choose software. Thanks to the default Greek mirror my sources.list is nicely preconfigured to include non-free software, Release updates and backport releases without any need for further alterations.

This is what i have done after logging in for the first time:

Code:
$ su -
Password: <root password>
# apt-get update
# apt-get install gpm vim sudo 
# apt-get install menu gksu xorg
You don't have to install vim if you are comfortable using nano.

Am about to install firmware after i give myself administrative rights as a normal user. When i come back and find that the administrators have in their wisdom deemed my extension of the sticky relevant and it hasn't been removed, i will edit this post as i go along. Thanks.

Before i gave myself administrative rights i changed the system's default editor which is nano to vim because despite several years of linux experience under my belt i still feel like a rat in a maze in nano while i find vim more navigable and easier for simple editing. If you feel more comfortable with nano good for you. You can avoid this step.

Code:
# update-alternatives --config editor
You will be presented with a table with the available editors in numbered rows. Type the number of the editor of your choice at the prompt and press "Enter".

Note that i have chosen to not yet enter the graphical environment with the "startx" command because it will be pretty much like this at this point.
To give yourself administrative rights as normal user do this:
Code:
# visudo
This will open the /etc/sudoers file in the default system editor or the one you picked as per the previous step.
Scroll down to the line,
Code:
root    ALL=(ALL:ALL) ALL
underneath it add the line,
Code:
<your_username>    ALL=(ALL:ALL) ALL
Exit the editor after saving changes and reboot. Now you can perform administrative tasks with sudo.
On reboot i did this;
Code:
$ sudo apt-get update 
$ sudo apt-get install firmware-linux firmware-linux-free firmware-linux-nonfree
Now i am about to install OpenBox as below:

Code:
$ sudo apt-get install openbox obconf obmenu
Will be back soon.

Alrighty, before i proceed i should make a few things clear. My aim has been to arrive at an optimal balance of minimum system resources and the advantages of the day-to-day conveniences that a full blown Desktop Environment provides. To that end i have chosen to have a standalone Window Manager instead of a Desktop Environment. My choices are dictated by my degree of comfort with the software, and not being an advanced user who is equally at home in any environment i have chosen OpenBox. If your preferences are Fluxbox or something else, then it's configuration shall be entirely up to you because i haven't the foggiest about it.
Before entering X i am going to install a graphical File Browser and Text Editor as without these two there's isn't any point of having a graphical environment at all, right? I have found that nothing beats xfe in a standalone Window Manager. Just tried out Thunar before i came here and trust me, without a DE it's practically useless and looks quite threadbare too. However the choice is entirely yours, there's loads of them out there, choose the one you prefer. Another thing, i have found having Synaptic Package Manager around very convenient, if nothing just to have a visual representation of the software i wish to look up, it's dependencies and to remove any "residual configs" after i uninstall a package. Advanced users may find this very amusing and even cause them to smirk but we noobs shouldn't worry about that, should we? So here goes:
Code:
$ sudo apt-get install synaptic xfe leafpad
Now lets run startx and enter the graphical environment we made for ourselves. What do you think, it's beautiful, ja? No it ain't but we will do something about that tomorrow, including deciding on a browser. At the end of this i hope to compile and upgrade to a newer kernel besides having all my multimedia needs met.

Last edited by mzsade; Today at 11:14 AM.
 
  


Reply

Tags
debian, setup


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DISCUSSION: Debian Post-Install Configuration macondo LinuxAnswers Discussion 5 12-11-2008 10:21 PM
(new to Debian) post install questions gugamare Debian 4 11-01-2005 09:01 AM
debian ugly post-install ssaady Debian 4 10-27-2005 06:02 AM
FC3 installation fails at post install configuration stage grstaker Fedora - Installation 8 06-20-2005 10:43 AM
RedHat 7.3 post install configuration LOCKS UP sput Linux - Distributions 7 07-19-2002 12:10 PM


All times are GMT -5. The time now is 11:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration