USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

running damn small linux questions

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Distributions
View previous topic :: View next topic  
Author Message
teabagger311
New Member


Joined: 21 Jun 2003
Posts: 3

PostPosted: Sat Jun 21, 2003 5:54 pm    Post subject: running damn small linux questions Reply with quote

im a noob to linux and i have a few questions about damn small linux live cd.

i already have a copy of it and played around with it a bit, i want to know if it is possibly for me to add a partion to an extra hard drive i have in my comp for damn small linux so i can save my work and what not on there?

Also is there a way to access windows ntfs partions with damn small linux?

Thanks for your time.


Back to top
View user's profile Send private message
mmmna
. . . .


Joined: 21 Apr 2003
Posts: 7089

PostPosted: Sun Jun 22, 2003 1:14 am    Post subject: Reply with quote

Howdy to you teabagger311!

You mentioned access to NTFS, at the end of your post. From what I've heard around the internet, NTFS is not compatible under Linux. Linux can read NTFS, Linux cannot yet safely write to NTFS partitions.
Just about any other partition format is writeable, not NTFS.

If you want to save to FAT32, I can state yes, almost any workstation oriented distribution of Linux can save to FAT32; I use Knoppix Linux 3.2 and I have edited a Microsoft Word document using OpenOffice, OpenOffice was running under Knoppix Linux; the document was on my Windows 98SE hard disk at work



_________________
-Ubuntu Desktop 64 Bit 9.10 on Celeron D Desktop,
-Ubuntu Netbook Remix 9.10 on EeePC 900A with Atom n270.
Back to top
View user's profile Send private message
teabagger311
New Member


Joined: 21 Jun 2003
Posts: 3

PostPosted: Sun Jun 22, 2003 3:32 am    Post subject: Reply with quote

Thanks mmmna,

It seems like my mandrake linux on my laptop can access the windows 2000 ntfs partitions, atleast read from them. But on my main computer, i don't want to have a duel boot with linux. I just want to kinda ease into learning linux and c programing. So i would like to have a partition on my main comp's 3rd hard drive. I already freed up space on that drive to be partitioned, i just need to know how to partition this unpartitioned space so i could save stuff for my damn small linux, i also hear that once i make the partition i would have to mount it each time?? I have no idea how to do any of that stuff so any help is well aperciated.


Back to top
View user's profile Send private message
mmmna
. . . .


Joined: 21 Apr 2003
Posts: 7089

PostPosted: Mon Jun 23, 2003 1:44 am    Post subject: ROUGH overview, needs research. Reply with quote

Good plan. You could use Mandrake install CDs to make a Linux partition out of the empty space. Beware, I mention about partitioning in our 'readme first' forum: risks are high that anything else in the system might get blown away, because we, as newbies, don't always know what is happening when something is not correctly decided.
Anyway, here is a rough overview, research this general overview befor you try the command, because you might not like my decisions about some of the options.
You could take the Mandrake install cd, drop into expert mode, make the partition (type 82 or 83 - I forget which - one is a swap partition, that won't work, the other type willl work), write the new partition table to the disk, and quit the partition program. Then, while at the command prompt, type
Code:
make2fs -j /dev/hdx#
(replace x with a letter which represents physical location of the drive on the IDE bus, replace # (not n) with the number of the partition you just created).
That formats the partition to EXT3 type format (one type of journaled filesystem - there are others). After that formatting is finished, reboot. Then, each time you want to use the new partition, type
Code:
 mount -t ext3 /dev/hdx# /mnt/mountpoint
to mount the partition any time you want to write to the drive. I believe there needs to be a read-write option added to the instructions, I do not need to mount hard disks on the fly very often, so I might have forgotten the details (man page for mount should offer some help there.

EDIT: Note: After thinking about this overnight, I believe there is an even simpler solution: do not bother repartitioning at all, and simply mount any FAT32 partition you have as read/write, save your Linux work on there. The FAT32 solution offers an added benefit: Linux partitions are not readable by Windows OS (not that I'm aware of, anyway), but FAT32 is readable and writeable by both Linux and Windows. /EDIT


Back to top
View user's profile Send private message
teabagger311
New Member


Joined: 21 Jun 2003
Posts: 3

PostPosted: Tue Jun 24, 2003 3:59 am    Post subject: Reply with quote

well i found out that i could use the fdisk on the damn small linux to partition the other drive, i got that to work, and i formatted it to ext3 and it all works, now all i got to do when ever i start up to access this drive is
Code:
mkdir /mnt/files

and
Code:
mount /dev/hdd /mnt/files

and now i have the ablity to save files to that drive, sweet.

On the side, is there any linux commands to format the partition in fat32?

also im having a little trouble with the tcc complier included with damn small linux, I can't see to make an executable file with it?
I can however make scripts with it and run them.


Back to top
View user's profile Send private message
mmmna
. . . .


Joined: 21 Apr 2003
Posts: 7089

PostPosted: Wed Jul 02, 2003 1:47 am    Post subject: Reply with quote

teabagger311 wrote:
On the side, is there any linux commands to format the partition in fat32?
Not that I can find in the man pages, sorry; I only know of Microsoft tools.
Quote:
also im having a little trouble with the tcc complier included with damn small linux, I can't see to make an executable file with it?
I can however make scripts with it and run them.
Hmm. You found a very cool compiler! The TCC home page offers online documentation and access to a mail list (for support).


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Distributions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2003-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2001-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse