LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2003, 09:41 PM   #1
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Rep: Reputation: 15
Can you only install on root directory?


I was trying to install open office 1.1 and I kept getting an error about not having symbolic something or other as I was forced to try to install on a drive that is not my root drive due to lack of space on my root drive. I guess this cant be done?

THanks
 
Old 10-28-2003, 09:57 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
it can be done but the file system has to support certain features like symbolic links. So you cannot install it on a fat32 partition if it needs symbolic links (which it almost certainly does).
 
Old 10-29-2003, 12:46 AM   #3
stonux
Member
 
Registered: Oct 2003
Distribution: SuSE, RH
Posts: 55

Rep: Reputation: 15
Question

Please post the results of the following 2 commands:

df

mount

You probably may want to move the /usr or /opt tree to the new disk.
-- Beat
 
Old 10-29-2003, 08:20 AM   #4
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Original Poster
Rep: Reputation: 15
I will post the results of those commands when I am home later. Thanks for the responses.

I thought the drive was ext2 but I am not sure...guess not if I am getting that error.

What is the best all around format for a drive under linux?
 
Old 10-29-2003, 08:33 AM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
you can use fat32 if you want,if you compile support for UMSDOS in the
kernel and get a few userspace utilities. it's alot slower than a normal
linux filesystem though.

To get utilities for initializing/checking UMSDOS file system, or
latest patches and/or information, visit the UMSDOS home page at
<http://www.voyager.hr/~mnalis/umsdos/>.
 
Old 10-29-2003, 09:04 PM   #6
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Here is my DF output

root@Linux:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdb5 2623240 2343060 146924 95% /
/dev/hdd1 1245420 328 1245092 1% /mnt/hdd1
/dev/hda1 1951392 626752 1324640 33% /mnt/hda1
root@Linux:~#

and mount

root@Linux:~# mount
/dev/hdb5 on / type ext2 (rw,errors=remount-ro)
none on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdd1 on /mnt/hdd1 type vfat (ro)
/dev/hda1 on /mnt/hda1 type reiserfs (ro)


I see the problem already with hdd1 being vfat.

What is the easiest way to change that to ext2?

Why does FDISK show this if it is vfat?

Disk /dev/hdd: 1281 MB, 1281181696 bytes
64 heads, 63 sectors/track, 620 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 620 1249888+ 83 Linux




Thanks

Last edited by Eradicator; 10-29-2003 at 09:17 PM.
 
Old 10-29-2003, 09:41 PM   #7
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Original Poster
Rep: Reputation: 15
I formatted the drive and changed it to ext2 but now when I try to mount it I get

Could not mount device.
The reported error was:
mount: wrong fs type, bad option, bad superblock on /dev/hdd1,
or too many mounted file systems

I checked fstab and it is shown as ext2 there....

my fdisk now looks like this

Disk /dev/hdd: 1281 MB, 1281181696 bytes
64 heads, 63 sectors/track, 620 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 1 620 1249888+ 83 Linux

Disk /dev/hda: 2564 MB, 2564352000 bytes
128 heads, 63 sectors/track, 621 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 621 2503840+ 83 Linux

Disk /dev/hdb: 3228 MB, 3228696576 bytes
128 heads, 63 sectors/track, 782 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 121 487840+ 82 Linux swap
/dev/hdb2 122 782 2665152 5 Extended
/dev/hdb5 * 122 782 2665120+ 83 Linux

Here is the line from FSTAB
/dev/hdd1 /mnt/hdd1 ext2 noauto,users,exec 0 0

Last edited by Eradicator; 10-29-2003 at 09:45 PM.
 
Old 10-30-2003, 01:35 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
you don't format a drive AND change it to ext2. however you format it
determines the filesystem, not what fdisk says. linux can ignore the fdisk
filesystem type definitions anyway. to format it ext2, you use mke2fs. for
reiserfs, it's mkreiserfs.
 
Old 10-30-2003, 08:18 AM   #9
Eradicator
Member
 
Registered: Sep 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Sorry I was not clear....

I used mke2fs on hdd is what I ment to say...sorry if I don't know the best way to say what I did.

I was able to mount it using -f but I would imagine that is not the best way to do it.
 
Old 10-30-2003, 11:16 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
i just thought it sounded like you might not be clear about what the filesystem
formatter does.

did you also notice that your hda1 -reiserfs was mounted read-only?
i expect you may want to be able to write to that.
 
  


Reply


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
How can I install my .tgz package under a directory besides root? bankfishin Slackware 1 05-22-2004 06:31 PM
starting with a different root directory darthczyz Linux - Newbie 3 05-01-2004 06:34 PM
accidentally rm -fr in root (/) directory Under Fire Linux - Newbie 2 11-15-2003 11:03 PM
Partition - root directory? mrobi Linux - Newbie 10 01-11-2003 06:18 PM
looking up my root directory isaacais Linux - Newbie 3 12-19-2002 07:35 AM


All times are GMT -5. The time now is 11:51 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