Suse Linux 10.1 mounting

ডেবিয়ানের উপর তৈরী করা লিনাক্স ডিস্ট্রিবিউশন উবুন্টু, কুবুন্টু, এডুবুন্টু, ও জুবুন্টু বাংলাদেশে প্রচুর জনপ্রিয়তা পেয়েছে। উবুন্টু এবং তার জাতভাইদের নিয়ে আলোচনা চলবে এখানে।

সমন্বয়কবৃন্দ: shahriar, মডারেসন টিম

Suse Linux 10.1 mounting

পোস্টলিখেছেন thedarklord » বুধবার, জানুয়ারী 17, 2007 3:47 am

I am using Suse Linux 10.1 now

and i Mount My harddisk like this


উক্তি: সব গুলো নির্বাচন করুন
mount /dev/hdb1 /mnt/c

mount /dev/hdb5 /mnt/d

mount /dev/hdb6 /mnt/e

mount /dev/hdb7 /mnt/f

mount /dev/hdb8 /mnt/g

mount /dev/hdb9 /mnt/h

mount /dev/hdb10 /mnt/i

mount /dev/hdb11 /mnt/j


Now I want when ever I login or restart my HDD will be auto mounted.
at start. I whon't gonna need to manually mount again and again.

I heard that /etc/fstab file do this job.

Can tell me how to auto mount my drive at startup like ubuntu.?

here is my fstab





উক্তি: সব গুলো নির্বাচন করুন
/dev/hdb12           /                    ext3       defaults              1 1
/dev/hdb13           swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/fd0             /media/floppy        auto       noauto,user,sync      0 0



See the pic for better view
সংযুক্ত ফাইল
fstab.jpg
(41.12 ) 4019 বার ডাউনলোড করা হয়েছে
সদস্যের ছবি
thedarklord
Moderator
Moderator
 
পোস্ট: 190
নিবন্ধিত হয়েছেনঃ: সোমবার, সেপ্টেম্বর 25, 2006 6:27 pm
অবস্থান: Dhaka

পোস্টলিখেছেন Russell » বুধবার, জানুয়ারী 17, 2007 6:05 am

I'm assuming that all your partitions are FAT32, not NTFS. Is so, then add the following lines on your existing fstab file.

উক্তি: সব গুলো নির্বাচন করুন
/dev/hdb1     /mnt/c     vfat     defaults     0 0
/dev/hdb5      /mnt/d     vfat     defaults     0 0
/dev/hdb6      /mnt/e     vfat     defaults     0 0
/dev/hdb7      /mnt/f     vfat     defaults     0 0
/dev/hdb8      /mnt/g     vfat     defaults     0 0
/dev/hdb9      /mnt/h     vfat     defaults     0 0
/dev/hdb10      /mnt/i     vfat     defaults     0 0
/dev/hdb11      /mnt/j     vfat     defaults     0 0

The directories: c, d, e, f, g, h, i, j should be present under /mnt from beforehand as well. Reboot the machine, and it should now automount the partitions. If not, then please let me know.

By the way, I tested SUSE Linux 10.1 right after it was released, and I found that it auto mounts FAT32/NTFS drives -- what went wrong on your case?
সদস্যের ছবি
Russell
Yet Another Helper
Yet Another Helper
 
পোস্ট: 587
নিবন্ধিত হয়েছেনঃ: মঙ্গলবার, মে 03, 2005 3:17 am
অবস্থান: Dhaka

Done

পোস্টলিখেছেন thedarklord » বুধবার, জানুয়ারী 17, 2007 5:11 pm

Ya it worked thanks

I'm assuming that all your partitions are FAT32, not NTFS


it;s fat . but if my drive is ntfs thn wht to do?

by the way, I tested SUSE Linux 10.1 right after it was released, and I found that it auto mounts FAT32/NTFS drives -- what went wrong on your case?

no i didn't saw my drives enywhere [ b4]

not in desktop not in "computer"
সদস্যের ছবি
thedarklord
Moderator
Moderator
 
পোস্ট: 190
নিবন্ধিত হয়েছেনঃ: সোমবার, সেপ্টেম্বর 25, 2006 6:27 pm
অবস্থান: Dhaka

Re: Done

পোস্টলিখেছেন Russell » বুধবার, জানুয়ারী 17, 2007 8:40 pm

thedarklord লিখেছেন:Ya it worked thanks

Cool. You're most welcome. :)

thedarklord লিখেছেন:it;s fat . but if my drive is ntfs thn wht to do?

If it was NTFS, then you had to change "vfat" to "ntfs" (3rd row). But mounting NTFS partitions would give you read-only access only. There are some hacks around, but they aren't reliable (no matter what the developers say, I don't trust them).

thedarklord লিখেছেন:no i didn't saw my drives enywhere [ b4]

not in desktop not in "computer"

When you installed SUSE, you most probably didn't had this hard drive attached... if it was present, then it would definitely detect and auto-mount just like Ubuntu or any other latest distros. Was this drive present while installation?
সদস্যের ছবি
Russell
Yet Another Helper
Yet Another Helper
 
পোস্ট: 587
নিবন্ধিত হয়েছেনঃ: মঙ্গলবার, মে 03, 2005 3:17 am
অবস্থান: Dhaka

Re: Done

পোস্টলিখেছেন thedarklord » বৃহস্পতিবার, জানুয়ারী 18, 2007 12:13 am

Russell লিখেছেন:
thedarklord লিখেছেন:When you installed SUSE, you most probably didn't had this hard drive attached... if it was present, then it would definitely detect and auto-mount just like Ubuntu or any other latest distros. Was this drive present while installation?


no i never remove my HDD I installed suse in my hearddrive so of cource it was attached
সদস্যের ছবি
thedarklord
Moderator
Moderator
 
পোস্ট: 190
নিবন্ধিত হয়েছেনঃ: সোমবার, সেপ্টেম্বর 25, 2006 6:27 pm
অবস্থান: Dhaka

Re: Done

পোস্টলিখেছেন Russell » বৃহস্পতিবার, জানুয়ারী 18, 2007 6:26 am

thedarklord লিখেছেন:no i never remove my HDD I installed suse in my hearddrive so of cource it was attached

I mean the second harddrive, hdb, not hda -- don't you have two hard drives?
সদস্যের ছবি
Russell
Yet Another Helper
Yet Another Helper
 
পোস্ট: 587
নিবন্ধিত হয়েছেনঃ: মঙ্গলবার, মে 03, 2005 3:17 am
অবস্থান: Dhaka

Re: Done

পোস্টলিখেছেন thedarklord » বৃহস্পতিবার, জানুয়ারী 18, 2007 2:13 pm

Russell লিখেছেন:
thedarklord লিখেছেন:no i never remove my HDD I installed suse in my hearddrive so of cource it was attached

I mean the second harddrive, hdb, not hda -- don't you have two hard drives?


No I hav single hard drive 40 Gig 10 partition with ext3 and swap
সদস্যের ছবি
thedarklord
Moderator
Moderator
 
পোস্ট: 190
নিবন্ধিত হয়েছেনঃ: সোমবার, সেপ্টেম্বর 25, 2006 6:27 pm
অবস্থান: Dhaka

পোস্টলিখেছেন Russell » বৃহস্পতিবার, জানুয়ারী 18, 2007 9:13 pm

Okay. I thought it's the second drive since it's "hdb". So this means this drive is the primary slave.
সদস্যের ছবি
Russell
Yet Another Helper
Yet Another Helper
 
পোস্ট: 587
নিবন্ধিত হয়েছেনঃ: মঙ্গলবার, মে 03, 2005 3:17 am
অবস্থান: Dhaka


ফিরে যান-> উবুন্টু, কুবুন্টু, এডুবুন্টু, ও জুবুন্টু

এখন যারা অনলাইনে আছেন

এখন অনলাইনে আছেনঃ নিবন্ধিত সদস্য MSN [Bot] এবং অতিথি 0 জন