LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-05-2003, 04:04 PM   #1
creature-x
LQ Newbie
 
Registered: Jan 2003
Location: Portland, OR
Posts: 9

Rep: Reputation: 0
Angry Partition difficulties


Hello

I want to duel boot, currently I have windows 98 on a single partition.
I use partition magic, when it goes to dos it starts partitioning well but after 2% i get "error 2005: one or more lost clusters are present".
Then it asks me to click any key and it boots my windows again.

what does it mean?
How do I fix it ?

ohh yeah, and another thing I've been wondering about, I heard that only one partition can be visible at a time... So if I install linux on a diff partition, I wont be able to access my mp3's and stuff?

Well... there are no stupid questions right?
please help or give any additional hints.

thanks
 
Old 01-05-2003, 04:25 PM   #2
Iulian_B
LQ Newbie
 
Registered: Aug 2001
Posts: 18

Rep: Reputation: 0
Hi,
You can do either:
1. defrag before running partition magic (it's faster)
2. use fips (also after defrag) several times (till you have the number of partitions you want.
After you obtain the desired partitions, install Linux (I guess that's what you want, finally).

For the other thing: once you have linux installed and running you can mount (almost) any partition you want (especially fat32 - that's Win98). In other words you will be able to access any stuff from win partition.

Hope being useful...
 
Old 01-05-2003, 04:51 PM   #3
mccorkle
LQ Newbie
 
Registered: Jan 2003
Location: Texas
Distribution: Debian
Posts: 1

Rep: Reputation: 0
Lightbulb Options for your install

First off, I'm afraid I have no idea what that error means,but I'd like to suggest a better way to get your box dual booted and up and running. Here is the method I've grown into using when I make a dual boot pc:

1) backup all the important stuff from your windows box to cd or another machine if you've got one

2) install linux distro of choice
-- most distro's will first let you partition/format the disk. Do so. Make three partitions:
1) swap
2) linux filespace (ext2)
3) windows (fat32)

3) install windows os of choice. I tri-boot between win2k/win98/linux -- so I installed win98 first, then win2k on the same partition. This will blow up your boot loader (Lilo or grub dependent on your linux distro of choice) but you can boot back into linux via your install media (or linux bootable floppy), add then windows operating system you just chose into your boot loaders config file and then reboot.

---
As for your second question, a partition is just a different way of low level ``formatting'' a section of a disk for a specific higher level formatting (i.e. fat32 for windows and ext2 for linux). Linux has full support for reading/writing to fat32 file systems, you just have to have fat32 partition types enabled in your kernel. Then you can ``mount'' the fat32 filesystem under linux and access the windows partition just like it was a directory in linux ;-)

---
And as for any hints/suggestions I might have, I'll share this bit of wisdom that I've gained over the years. Build a file server. Run linux or *BSD on it. SMBMount it in linux and windows to get access to all your media (mp3s, word docs, files you have downloaded; basically anything that can't be easily re-installed from the net or a cd you have on your shelf) -- then you never have to worry about reformatting your primary ``workstation'' since all your work will be on your file server. Not to mention, with all your important media on that box, you can back it up without backing up all the application data that you have installed on your workstation. At least that works for me.

---
Sorry for the length of the reply, hope it helps though. If you have any specific questions about specific parts of my suggestions therein, don't hesitate to ask.

Lilo dual boot howto:
http://www.linux.org/docs/ldp/howto/mini/LILO.html

Grub dual boot howto:
http://www.tldp.org/HOWTO/Linux+Win9...WTO/index.html

--Mark Mccorkle
 
Old 01-05-2003, 04:59 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,580

Rep: Reputation: 191Reputation: 191
"one or more lost clusters are present" - it means you need to run scandisk and defrag on your Windows partition before trying Partition Magic or any other partitioning utility (like fips of programs that come in distros).
 
Old 01-09-2003, 09:12 PM   #5
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
defrag isn't necessary, just scandisk from windows
or dosfsck from linux.
a lost cluster means that there is at least one cluster (allocation unit) that is not marked as free, but is not
marked as belonging to any file. this is a quick clue
that the filesystem may be a little corrupt or a lot corrupt,
and partition magic doesn't want to run the extra risk
of completely hosing your filesystem in its current condition.
 
Old 01-09-2003, 09:56 PM   #6
Jane Delawney
Member
 
Registered: Dec 2002
Location: UK
Distribution: Mandy 9.1, Knoppix :)
Posts: 146

Rep: Reputation: 15
Agree absolutely with other posters that what is needed before running PM (or any other partitioning utility - I'd use PM, but then it's what I know )is defragmentation - by the method of your choice. Do it, and try partitioning again. If it still doesn't work I have no idea what's going on

But a word of warning - *Do* use the defragmenter provided by Windows or DOS - since that is your current working OS. *Do not* use a 3rd party defragmenter such as that supplied by N*rt*n or whoever. A year or so back, long before I became interested in open-source, I wanted to partition my hd to separate out OS, apps and data. I ran N*rt*n's defragmenter, then set PM to work.

All seemed fine, until (months later) I tried to install a USB device. No joy. Didn't do anything about it due to various catastrophes in other areas of life in general.
Then last summer, a second usb device failed to install, and I knew I had a problem especially since the device installed without difficulty on a five year old Libretto that uses a docker for USB connection!

Well, I finally worked out what happened: when I defragged the hd, some of the stuff on it was moved to where the utility thought it ought to be, at the *end* of the disk. And when I partitioned the drive, these files were neatly separated from the rest of the OS, never to be found again.

I guess these files must have included some essential usb components! Eventually, after discussions with my PC vendor's technical support, I nuked my windoze OS and reinstalled - and everything...suddenly...worked.

I am more or less certain this wouldn't have happened if I'd used the DOS defragmenter or Scandisk instead of the 3rd party software. This potential problem with the 3rd party software is documented, apparently, though it doesn't appear in the user manual; perhaps a careful piece of googling would turn it up.

Good luck, anyway - you've several suggestions now, both from those who know what they're doing and those (meaning myself) who mostly guess Hopefully you'll find something useful in here.

JD
 
Old 01-10-2003, 05:47 AM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,580

Rep: Reputation: 191Reputation: 191
Defrag IS necessary. If there's a part of a file near the end of the partition, 'resize' option won't allow you to resize teh partition or can do this the wrong way.
 
Old 01-10-2003, 06:28 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
I disagree about defrag. Partition magic has to move
so many files around anyway, having a few pieces of
them at the end of the disk doesn't make a difference,
but I guess if you don't trust PM, and want it to do as
little as possible, then fine. I was just thinking that
defrag takes so long, and you need to do it after a resize
anyway, and if you are resizing and moving a partition
away from the beginning of the disk, PM will have to move MORE stuff if you defrag.
Anyway, thats my opinion. I didn't mean to disrespect
a guru. I just wanted to add my knowledge about
clusters.
By the way, deleting your Internet Exploder cache, if
windows will allow such an outrageous thing, can
save a lot of time in defragging or resizing a partition,
as well as deleting unnecessary stuff from your drive,
to give PM more room to work.
 
Old 01-10-2003, 07:28 AM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,580

Rep: Reputation: 191Reputation: 191
Well, I've not used PM for many years, maybe the algorithm is different now.
What I know (please correct me if I'm wrong): If a FAT partition is not defragmented, it's very easy to resize it (simple structure). No problem then. But if it's not, especially when a part of a file is in the area that will be removed from the partition, it needs to be moved somewhere. It makes the whole process harder and requires a well-written code (as always in such situations).
If you resize and move, it's not much harder, because moving requires just simple copying (+maybe checking everything etc). But I don't know how PM works, but I can't imagine why.
Just my opinion.
 
Old 01-10-2003, 11:52 AM   #10
mostlyM$free
LQ Newbie
 
Registered: Jan 2003
Location: Earth
Distribution: Drak 9.0
Posts: 12

Rep: Reputation: 0
I would run scandisk AND Defrag your drive before you resize it.

Here is a program to run in win98 (DOS shell) that is kind of opposite to your question about seeing and accessing Fat32 drives from Linux. This is a program that lets you access your linux drives and data from windows.
You will need Java 2 (for windows) if you want to use the GUI, you can get it here.

The program is called LTools, you can read about it here.
You can download it here.

This will allow you to see/access/move Linux files in windows.
Be careful, I would leave the 'read only' option checked for linux files until/unless you know what you are doing.
 
Old 01-10-2003, 12:00 PM   #11
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 878

Rep: Reputation: 184Reputation: 184
I've just done exactly this. Partition Magic (if you RTFM) recommends both scandisk and defrag before use.

Scandisk is a must cos after PM the mis-allocated clusters will be unrecoverable, and defrag is recommended because as pointed out if there is data in the space you are trying to free up PM must move it, and moving it will be faster if its contiguous.
 
Old 01-10-2003, 12:11 PM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53
I bet I'm thinking of moving a partition as different then
you are. I usually was doing something like taking
a 2 or 4 gig partition and moving it left or right several
hundred megs, to add space to a different drive. I only
use PM now for NTFS. If i want to resize stuff, i copy
everything to a different hard drive, remake all the
partitions by hand, then copy the stuff back. I used to
spend all my time building computers, and i had plenty
of hard drives around for such things. If you guys have
seen PM mess up often when somebody didn't defrag,
i'll keep that in mind.
A friend of mine called me yesterday who was getting
an error trying to convert ntfs to fat32 with winxp. I told
him to run the scandisk. If that didn't work, i would have
said run defrag next, so maybe i'm arguing against
myself.

The post above wasn't there when i started typing, so
what does PM recommend if i don't "RTFM". Does it
recommend i "HTFM" ( have the fine manual ), before
i "RTFM". Well anyway, if PM says to defrag before,
now i will too.

Last edited by whansard; 01-10-2003 at 12:21 PM.
 
Old 01-10-2003, 12:40 PM   #13
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 878

Rep: Reputation: 184Reputation: 184
I don't have a manual either, but CTFHB (Click The Fine Help Button) doesn't roll off the tounge as well does it?
 
Old 01-10-2003, 12:42 PM   #14
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 878

Rep: Reputation: 184Reputation: 184
I guess I should LITFDTSHTIS :-)


(Look In The Fine Dictionary To See How Tongue Is Spelled)
 
  


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
Sourceforge difficulties :( flamesrock Programming 3 05-02-2005 04:01 AM
Umount difficulties Odd_Bloke Linux - Newbie 2 10-18-2003 01:34 PM
Help! monitor difficulties Bill Hicks Linux - Newbie 2 09-19-2003 08:40 AM
display difficulties rekonrad Linux - General 1 07-13-2003 04:22 AM
having difficulties with zipSlack kholmberg Slackware 2 05-05-2003 02:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:56 AM.

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