Results 1 to 10 of 14
hi frens,
I'm new to this forum.I'm using hardy heron.I want all the partitions of my hard drive to be mounted on the startup.Is there any command available to do ...
- 02-13-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 44
[SOLVED] mounting partitions on startup
hi frens,
I'm new to this forum.I'm using hardy heron.I want all the partitions of my hard drive to be mounted on the startup.Is there any command available to do this job.I'm waiting for your ans.Please help me..Last edited by dharanitharan; 02-13-2009 at 03:43 AM. Reason: i want to add two attachments
- 02-13-2009 #2
Post two things:
sudo gedit /etc/fstab
and
sudo fdisk -l
I'll help you get it up as soon as you post thoseBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 02-13-2009 #3Just Joined!
- Join Date
- Feb 2009
- Posts
- 44
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda3
UUID=cc1a6ce2-022b-446f-a5e8-4a8ed30c9251 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda10
UUID=2faed11b-5e61-400e-8e1f-23f1df97abec none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/********************************
root@dharani:~# sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cb836
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 18030 124343100 f W95 Ext'd (LBA)
/dev/sda3 18031 19457 11462377+ 83 Linux
/dev/sda5 2551 6374 30716248+ 7 HPFS/NTFS
/dev/sda6 6375 6640 2136613+ 82 Linux swap / Solaris
/dev/sda7 6641 9197 20539071 83 Linux
/dev/sda8 9198 10198 8040501 7 HPFS/NTFS
/dev/sda9 10199 12748 20482843+ 7 HPFS/NTFS
/dev/sda10 12749 15298 20482843+ 7 HPFS/NTFS
/dev/sda11 15299 17848 20482843+ 7 HPFS/NTFS
/dev/sda12 17849 18030 1461883+ 82 Linux swap / Solaris
- 02-13-2009 #4
that is the most screwed up partition table I've ever seen. Why do you have 12 partitions? Is there any way for you to condense that? I'm not even sure if you can have 12 partitions mounted at the same time
Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 02-13-2009 #5Just Joined!
- Join Date
- Feb 2009
- Posts
- 44
i have 6 partitions in windows xp.i use 2 more linux distros.. what can i do now
- 02-13-2009 #6Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
Okay, I'm a visual person, so I have to see this...
I see two Linux parts, I assume sda3 is the root partition and sda7 is /home. sda1 is Windows, and the rest doesn't make sense to me but I'm sure you have your reasons for wanting to keep things separated (I usually just have one common data partition and use directories to keep things organized, but, to each their own) Having two swap partitions is probably a waste.Code:sda: +-1---+-2-Extended------------------------------------------+-3-----+ | +-5----+-6---+-7----+-8----+-9----+-10---+-11---+-12--+ | |NTFS | NTFS | swp | ext3 | NTFS | NTFS | NTFS | NTFS | swp | ext3 | | +------+-----+------+------+------+------+------+-----+ | +-----+-----------------------------------------------------+-------+
Your request will require a totally revamped fstab. I can do this, but it'll take a few.
- 02-13-2009 #7Linux Guru
- Join Date
- Jan 2009
- Location
- Dover, NH
- Posts
- 1,633
Okay, I didn't see that before my post went up... so then the two ext3 partitions are to be kept separate? You have aparently edited partitions since the original install, so I'll need to also see the output of ls -l /dev/disk/by-uuid/ to get this right.
- 02-13-2009 #8Just Joined!
- Join Date
- Feb 2009
- Posts
- 44
sorry friend i cant get you.what you trying to say
- 02-13-2009 #9Just Joined!
- Join Date
- Feb 2009
- Posts
- 44
root@dharani:~# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2009-02-15 12:47 02C43B22C43B177F -> ../../sda8
lrwxrwxrwx 1 root root 10 2009-02-15 12:47 0848E25748E24354 -> ../../sda9
lrwxrwxrwx 1 root root 11 2009-02-15 12:47 2faed11b-5e61-400e-8e1f-23f1df97abec -> ../../sda12
lrwxrwxrwx 1 root root 11 2009-02-15 12:47 3E90F3B590F3722F -> ../../sda11
lrwxrwxrwx 1 root root 10 2009-02-15 12:47 491d2e22-f1cd-11dd-bd54-abf1c6a8eafd -> ../../sda7
lrwxrwxrwx 1 root root 10 2009-02-15 12:47 50B0CF97B0CF81C8 -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-02-15 12:47 b5af9790-f1c4-11dd-8711-b1a778c35dcc -> ../../sda6
lrwxrwxrwx 1 root root 10 2009-02-15 12:47 cc1a6ce2-022b-446f-a5e8-4a8ed30c9251 -> ../../sda3
lrwxrwxrwx 1 root root 11 2009-02-15 12:47 D8A8EABBA8EA96F2 -> ../../sda10
lrwxrwxrwx 1 root root 10 2009-02-15 12:47 DA6CD9526CD929D1 -> ../../sda1
root@dharani:~#
- 02-13-2009 #10
Open Terminal and execute this
Press Alt+F1 and type thisCode:cd /media sudo mkdir sda1 sda5 sda8 sda9 sda10 sda11
It will open /etc/fstab file in Gedit.Code:gksu gedit /etc/fstab
Add this code at the end of file :
Save file and reboot machine.Code:/dev/sda1 /media/sda1 ntfs-3g defaults,umask=0 0 0 /dev/sda5 /media/sda5 ntfs-3g defaults,umask=0 0 0 /dev/sda8 /media/sda8 ntfs-3g defaults,umask=0 0 0 /dev/sda9 /media/sda9 ntfs-3g defaults,umask=0 0 0 /dev/sda10 /media/sda10 ntfs-3g defaults,umask=0 0 0 /dev/sda11 /media/sda11 ntfs-3g defaults,umask=0 0 0
Check /media/sda1 - 11 folders. All partitions will be mounted there and you will have full access.
* It looks like you installed two Linux distro in your Hard disk. I haven't added code to mount / partition of other Linux distro. I need the output of df -h command for that.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


