LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-08-2010, 05:47 AM   #1
irajjs
Member
 
Registered: Jan 2010
Location: Karaj , Iran
Distribution: Mandriva 2012
Posts: 204
Blog Entries: 1

Rep: Reputation: 15
Smile How to configure hdb disk?


Hello

I have installed Mandriva2007.My second hard disk,named as hdb,was not detected at installation time,after detecting that with harddrake,still it is not mountable,because,in configuring that,a message said to me that its' file system (already ntfs) must be changed,so i cancelled the configuration because,i need to use that when i am working with my first operating system (windows7)too (because more than 90% ofit consists of music and movie files)
Windows related partitions(ntfs) on hda(Mandriva is here too) are already mounted.
My question is:
-why file system on hdb must be changed?Because if ntfs is not use able by Linux,then how are they used in other(hda) disk?
-How do i solve this problem?
Thanks
 
Old 02-08-2010, 06:59 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
First why mandriva 2007 ?
Mandriva 2007 is rather old now ?
Why not the new version of mandriva being mandriva 2010 .
Where did you install mandriva sda or sdb ?

Last edited by ronlau9; 02-08-2010 at 07:02 AM.
 
Old 02-08-2010, 09:22 AM   #3
irajjs
Member
 
Registered: Jan 2010
Location: Karaj , Iran
Distribution: Mandriva 2012
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile irajjs

Quote:
Originally Posted by ronlau9 View Post
First why mandriva 2007 ?
Mandriva 2007 is rather old now ?
Why not the new version of mandriva being mandriva 2010 .
Where did you install mandriva sda or sdb ?
Hi

-Linux software (specially new versions) are not easily found in the country where i live.
-Internet download speed (specially on my home area) is very low and with disconnections and errors,so not easy to download.It took 5 years to get here !(Mandriva2007).
-Both Mandriva and windows7 are installed on the same hard disk (sda,or, hda)

Thank you.
 
Old 02-08-2010, 02:29 PM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Linux do not use NTFs as his file system but ex2 or ex3 or ex4 .
If you have installed mandriva on sda than it has changed a partition in linux native.
Which part open a terminal and give the command fdisk -l(L lower case ) as root or su or sudo to find out.
But linux can read a ntfs file system and even write on it
 
Old 02-09-2010, 01:34 PM   #5
irajjs
Member
 
Registered: Jan 2010
Location: Karaj , Iran
Distribution: Mandriva 2012
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile irajjs

Quote:
Originally Posted by ronlau9 View Post
Linux do not use NTFs as his file system but ex2 or ex3 or ex4 .
If you have installed mandriva on sda than it has changed a partition in linux native.
Which part open a terminal and give the command fdisk -l(L lower case ) as root or su or sudo to find out.
But linux can read a ntfs file system and even write on it
Hi

Yes,but the dedicated space(on hda) to Mandriva was formatted and changed to ex3at installation time and now is as root(/) and nearly 600 MB was given to ./boot(also formatted and its' file system changed),and 1600MB for Swap ....all this was a (deleted) free space which formerly consisted of other Linux distribution software(ubuntu),and ex2,ex3,ex4....
I know that Linux can read and write on ntfs,but my question was,why Linux wants to change file system on the other hard disk(hdb)?and why doesn,t configure it without changing it?In other words,what is the reason for changing file system on this device,and why is that blocked now? and why can not be mounted?
I regard hdb as a store,which (mainly)consists of music and movies(95%) and some downloaded but not installed windows program files,so this store if becomes formatted and file system changes from ntfs to other Linux desirable file system,then possibly windows will not be able to read that or write on that.I can not format that also because i have to back up all 150 GBs which would need a lot of time and raw DVDs.
 
Old 02-09-2010, 01:57 PM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
How did you try to mount it as root ?
If a partition or drive is not describe in fstab than root is they only one who can mount or umount .
What is the contents you're fstab ?
Post it over here please .
 
Old 02-10-2010, 07:43 AM   #7
backtolinux
LQ Newbie
 
Registered: Nov 2009
Posts: 20
Blog Entries: 1

Rep: Reputation: 2
I suspect you tell the installer to use windows partition to install your system, do you ? And the installer decrease the size of windows partition to let linux to be installed. But with windows 7, there is some hidden partition that is important for its boot. And if you override them, windows wont't boot again.
Mandriva can be downloaded as an usb key of 1Go, maybe it is enouogh for you, without use local hard disk. With a complete distribution on the key, you have all the tool to see what happen on your hard disk.

See in the bios, if some parameter for hard disk is not set other than ide.
 
Old 02-10-2010, 02:12 PM   #8
irajjs
Member
 
Registered: Jan 2010
Location: Karaj , Iran
Distribution: Mandriva 2012
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile No success

Quote:
Originally Posted by ronlau9 View Post
How did you try to mount it as root ?
If a partition or drive is not describe in fstab than root is they only one who can mount or umount .
What is the contents you're fstab ?
Post it over here please .
Hello

I was not permitted to change its' properties,any way i changed its' description as repository device.
It was on /dev and a big lock on it. I typed:
chown <my name> /dev/hdb
The lock was removed,but still could not open that,i used find application to find the files on that,but did not succeed,because of some errors.
Again i used harddrake,but that still insisted on changing its' file system! Of course i didn,t agree with formatting or changing the file system on hdb .

Our friend backtolinux totally misunderstood me,possibly because of my weak description.
Thank you both again.
------------------------------------------------------
Counter: #504781
 
Old 02-10-2010, 06:20 PM   #9
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Hi, I hope I may be of assistance.

If I were you, I would post the output of this command fdisk -l (lower-case L),(as mentioned above)

su (press enter to substitute user to another user, if no user name is supplied it will be root)

type in root password. (press enter)

type fdisk -l (lower-case L)

cut and paste the output here in code tags [ ].

No private info will be displayed. Just partition and format info for your connected harddisks.

Without this info, we may not be able to help much.

600Mb is too much for /boot and it should not be ./boot

that will make the partition unavailable for it's intended use.

your system only needs less than 100Mb for /boot

Your system will require about 5 to 10 gig as /

assign the rest free space as /home

You don't "need" a /boot "partition" as the partition will reside in / anyway.

please post your output of the command fdisk -l.

regards Glenn

ps, you could turn off your second hd in bios to avoid it being accessed/written to during install of mandriva..
 
Old 02-10-2010, 06:23 PM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Mine looks like this...
Code:
glenn@GamesBox:~$ sudo fdisk -l                                 (11-02 10:02)

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0xbcd2bcd2                          

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          12       96358+  83  Linux 
/dev/sda2              13       60801   488287642+   5  Extended
/dev/sda5              13        2622    20964793+  83  Linux   
/dev/sda6            2623        5232    20964793+  83  Linux   
/dev/sda7            5233        6537    10482381   83  Linux   
/dev/sda8            6538        7589     8450158+  83  Linux   
/dev/sda9            7590        7850     2096451   82  Linux swap / Solaris
/dev/sda10           7851        8502     5237158+  83  Linux               
/dev/sda11           8503        9154     5237158+  83  Linux               
/dev/sda12           9155        9415     2096451   83  Linux               
/dev/sda13           9416       10067     5237158+  83  Linux               
/dev/sda14          10068       60801   407520823+  83  Linux               

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0xdff1dff1

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        2805    22531131    7  HPFS/NTFS
/dev/sdb2            2806       30401   221664870    5  Extended
/dev/sdb5            2806        3080     2208906   82  Linux swap / Solaris
/dev/sdb6            3081        6750    29479243+   b  W95 FAT32
/dev/sdb7            6751       11222    35921308+  83  Linux
/dev/sdb8           11223       20859    77409171   83  Linux
/dev/sdb9           20860       30401    76646083+  83  Linux

Disk /dev/sdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x2ecb425f

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *         510       19457   152199810    f  W95 Ext'd (LBA)
/dev/sdd2               1         509     4088511   82  Linux swap / Solaris
/dev/sdd5             510        7344    54902106   83  Linux
/dev/sdd6            7345       11321    31945221    b  W95 FAT32
/dev/sdd7           11322       19457    65352388+  83  Linux

Partition table entries are not in disk order

Disk /dev/sdc: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Disk identifier: 0x31183118

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        7296    58605088+  83  Linux
/dev/sdc2            7297       14593    58613152+   5  Extended
/dev/sdc5            7297        7760     3727048+  82  Linux swap / Solaris
/dev/sdc6            7761       10317    20539071   83  Linux
/dev/sdc7           10318       14593    34346938+  83  Linux
glenn@GamesBox:~$                                               (11-02 10:02)
cheers, Glenn
 
Old 02-10-2010, 07:23 PM   #11
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
You can type cat /etc/fstab from a shell to see the fstab list.

Code:
cat /etc/fstab
 
Old 02-11-2010, 03:19 AM   #12
backtolinux
LQ Newbie
 
Registered: Nov 2009
Posts: 20
Blog Entries: 1

Rep: Reputation: 2
Hi,
yes I misunderstand you because you begun with "I have installed" and I understood "I have to install". Sorry, for my poor english.

When I re read your post, now, I suspect you don't have the necessary package to manage NTFS, in Mandriva 2007. As I know, it's since Mdv2008 that ntfs-3g (package to let you read/write on ntfs file system) is include in the distrib.

Maybe, you have to install ntfs-3g to let you manage ntfs FS?
 
Old 02-11-2010, 05:59 AM   #13
irajjs
Member
 
Registered: Jan 2010
Location: Karaj , Iran
Distribution: Mandriva 2012
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile Reply and thanks

Quote:
Originally Posted by backtolinux View Post
Hi,
yes I misunderstand you because you begun with "I have installed" and I understood "I have to install". Sorry, for my poor english.

When I re read your post, now, I suspect you don't have the necessary package to manage NTFS, in Mandriva 2007. As I know, it's since Mdv2008 that ntfs-3g (package to let you read/write on ntfs file system) is include in the distrib.

Maybe, you have to install ntfs-3g to let you manage ntfs FS?
Hi

Answering your post is much easier,so i do it first:
Again it seems that still you haven,t read my original post:
Quote:
Windows related partitions(ntfs) on hda(Mandriva is here too) are already mounted.
so,it becomes clear that,ntfs,is already managed,but just on hda,and, not on hdb!

I have to try their guidelines,before i can reply to other friends.

Thank you all.

Last edited by irajjs; 02-11-2010 at 06:05 AM. Reason: changing repeated word-----> but
 
Old 02-11-2010, 07:48 AM   #14
backtolinux
LQ Newbie
 
Registered: Nov 2009
Posts: 20
Blog Entries: 1

Rep: Reputation: 2
what I understand : accessing ntfs partition under mandriva2007, produced always a message saying you have to change partition type, isn't it ?
under mandriva2007, there is a tool to manage the ntfs partition (i forget the name), but writting on with this tool is marked experimental. It's why i suggested you to install ntfs-3g, that is a released version to write more safety and to recognize all the version of ntfs file system.
It was just a suggestion
 
Old 02-11-2010, 10:24 AM   #15
irajjs
Member
 
Registered: Jan 2010
Location: Karaj , Iran
Distribution: Mandriva 2012
Posts: 204

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Smile Reply and thanks

Quote:
Originally Posted by GlennsPref View Post
You can type cat /etc/fstab from a shell to see the fstab list.

Code:
cat /etc/fstab
Hello

Firstly thank you for spending such a lot of time to help me(You have replied with 3 posts to the current issue).
-----

cat /etc/fstab
--------------
This was output:

/dev/hda6 / ext3 defaults 1 1
/dev/hda5 /boot ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto umask=0022,users,iocharset=utf8,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0022,iocharset=utf8,sync 0 0
/dev/hda1 /mnt/win_c ntfs umask=0022,nls=utf8,ro 0 0
/dev/hda2 /mnt/win_d ntfs umask=0022,nls=utf8,ro 0 0
none /proc proc defaults 0 0
/dev/hda7 swap swap defaults 0 0
---------------------------------------------
I typed as root:

fdisk -l

This was output:

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 77 3263 25599577+ 7 HPFS/NTFS
/dev/hda2 3264 4538 10241406 7 HPFS/NTFS
/dev/hda3 1 9729 78148161 5 Extended
/dev/hda5 1 76 610407 83 Linux
/dev/hda6 4539 9510 39937558+ 83 Linux
/dev/hda7 9511 9729 1759086 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 19457 156288321 42 SFS

Disk /dev/sda: 2005 MB, 2005925888 bytes
64 heads, 63 sectors/track, 971 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 972 1959536
----------------------------
Quote:
600Mb is too much for /boot
--------------------------
There was a space,which was separate from other partitions and could not be integrated with other free spaces,which i used to use that as /boot
I new later that /boot does not need more than 100 MBs,but i did not want to leave a free space on hard disk which probably would be of no use,but for viruses!
Also i can use the excess space for enrichment and enhancement of /boot ,for example adding photos or sound or graphic...etc
------------------------------
Quote:
Your system will require about 5 to 10 gig as /
---------------------------------------------
I dedicated nearly 38 GBs to / (more than half full now)
home, was created automatically
Regards
 
  


Reply



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
Disk /dev/hdb doesn't contain a valid partition table LOLobo Linux - Hardware 11 11-06-2008 01:47 AM
syslog > 500mb daily - hdb: No disk in drive jsurles Linux - General 4 03-28-2007 08:56 AM
Disk /dev/hdb doesn't contain a valid partition table manudath Linux - Hardware 2 09-01-2006 02:23 PM
Disk /dev/hdb doesn't contain a valid partition table rajeshdorai Linux - Hardware 1 04-12-2006 07:29 PM
Warning: /dev/hdb is not on the first disk Valerie Linux - Newbie 9 07-03-2001 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:08 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
Open Source Consulting | Domain Registration