Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Linux Tips !!!

 
Post new topic   Reply to topic    dna88 Forum Index -> Linux and open source Discussion Forum
Author Message
tanveer
User
User


Joined: 21 Jun 2004
Posts: 85
Location: Dhaka,Bangladesh

Post Post subject: Linux Tips !!! Reply with quote

Dear Friends,
Let me post some useful tips for linux(redhat).

Tip #1:
Normally we know that the procedure to install linux is to first install windows and then linux. But there can be a thousand reasons for which the situation can arise that u have to format windows and install it afterwards. As a result Linux becomes Inaccessible after installing windows. Now to bring back the dual boot option back Try this :

    1. Insert the first cd of linux distribution
    2. at boot prompt type linux rescue
    3. It will then bring u a shell prompt and there type chroot /mnt/sysimage
    4. then check ur disk format by typing fdisk -l ;
    5. If it is hda then type grub-install /dev/hda
    6. then type reboot to reboot ur computer.

Now the grub boot loader with dual option will appear. As I prefer grub boot loader so I gave the procedure using grub.

Tip #2:
Here is another problem that I he faced durong installation is when he was installing the linux(redhat 9.0) it hanged at some pacages for abt 35 mins and then he just rebooted. But then his computer neither boot to wiindows nor linux and showed a text like GRUB and hang there. In a problem like this try

    1. insert win 2000 cd (bootable)
    2. select repair option which is 'R'
    3. Then choose 'C" for command prompt.
    4. at the dos prompt type:
    a:\>fixmbr ; it will then ask for some confirmation and just say 'yes'
    a:\>fixboot ; it will then ask for some confirmation and just say 'yes'

At last reboot ur computer and then u willl get ur winodws back again.

Tip #3:
As we know there are 6 run levels in linux from F1 to F6. To get more run levels in shell mode

    1. open /etc/inittab using vi editor ( as u can use any editor of ur like).
    2. there u can see something like this
    #Run gettys in standard runlevels
    add one more line there like
    7: 2345:respawn:/sbin/mingetty tty7
    now u get another run level in F7.


Friends pardon my english as I am not that good but hope u understand.[/list]
Mon Sep 20, 04 1:26 am
Back to top
tanveer View user's profile Send private message
dinangkur
Super Moderator
Super Moderator


Joined: 24 Mar 2004
Posts: 491
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Quote:
Friends pardon my english as I am not that good but hope u understand.


Tanveer you broke my heart when you wrote that.

-DK
_________________
...we too are stardust...
Mon Sep 20, 04 1:56 am
Back to top
dinangkur View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
aronnok
Beginner User
Beginner User


Joined: 16 Sep 2004
Posts: 44
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

Please keep going tanveer.
Mon Sep 20, 04 2:12 am
Back to top
aronnok View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
lifegauge
Just In
Just In


Joined: 15 Nov 2004
Posts: 2

Post Post subject: Reply with quote

Great tips, thanks!
_________________
FileDeposit™ - Safe, Secure, Simple.
Mon Nov 15, 04 7:35 am
Back to top
lifegauge View user's profile Send private message
bikki
Just In
Just In


Joined: 04 Dec 2004
Posts: 2
Location: US

Post Post subject: Accessing Windows drives automatically & USB Flash drive Reply with quote

To Mount a Windows drive automatically (only FAT & FAT32)

From root:
create a directory to which u wanna mount the drive.

mkdir /mnt/D

after creating the directory, mount the drive which u want to access

mount -t vfat/dev/hdb1 /mnt/D

Now the device hdb1 will be mounted to the directory 'D'

To access the Drive everytime u reboot automatically give these command from root

pico /etc/fstab/

and then give this new line at the end and save before closing to the file

/dev/hdb1 /mnt/D vfat defaults 0 0

*Repeat the same process for every Windows drive u wanna mount,with diff directory and for USB flash drive just instead of hdb use sda1, but u need to mount the drive manually every time*

U can get drive names which r detected from Hardware browser.



Bikki
Sat Dec 04, 04 10:28 pm
Back to top
bikki View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Linux and open source Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group