| View previous topic :: View next topic |
| Author |
Message |
teabagger311 New Member
Joined: 21 Jun 2003 Posts: 3
|
Posted: Sat Jun 21, 2003 5:54 pm Post subject: running damn small linux questions |
|
|
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 |
|
mmmna . . . .

Joined: 21 Apr 2003 Posts: 7089
|
Posted: Sun Jun 22, 2003 1:14 am Post subject: |
|
|
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 |
|
teabagger311 New Member
Joined: 21 Jun 2003 Posts: 3
|
Posted: Sun Jun 22, 2003 3:32 am Post subject: |
|
|
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 |
|
mmmna . . . .

Joined: 21 Apr 2003 Posts: 7089
|
Posted: Mon Jun 23, 2003 1:44 am Post subject: ROUGH overview, needs research. |
|
|
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 |
|
teabagger311 New Member
Joined: 21 Jun 2003 Posts: 3
|
Posted: Tue Jun 24, 2003 3:59 am Post subject: |
|
|
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
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 |
|
mmmna . . . .

Joined: 21 Apr 2003 Posts: 7089
|
Posted: Wed Jul 02, 2003 1:47 am Post subject: |
|
|
| 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 |
|
|