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 05-26-2004, 08:08 AM   #1
quantum_qwerty
LQ Newbie
 
Registered: May 2004
Posts: 4

Rep: Reputation: 0
Unable to access operating systems


Hi
I have two operating systems on my laptop, Windows XP and Fedora Core1. Recently I tried to change an NTFS partition to a fat32 (using partition magic) so that I could use it to pass my windows documents to fedora. But some how managed to partition the drive fedora was on, that is to take 250 meg from this drive and change it to fat32. Now I have lost the ability to dual boot, in-fact I can no longer boot anything. The dual boot program was GRUB
Now at start up all I get is
“Grub version 0.93 “
“minimal Bash like editing is supported”
then a command line “grub>”
I have the following hard drives

Partition Type
*:Acer NTFS
*:AcerData NTFS
*: extended
*:FAT32 FAT32
*:/ Linux Ext3
*:SWAPSPACE2 Linux swap
I am fairly new to computers, but I think I have some how moved the boot program (or components of it) used at start up, to another location,. I have tried the windows boot disk (which was made with partition magic, which in fact only boots a cut down version of partition magic) and the fedora boot disk, but no joy, but just before I tried changing the file system I updated the kernel (by using live update in the fedora menu) so I guess the boot disk is “out of date”
I have used Knoppix to check file system is in tact, and every thing is there I just cant start either operating systems
Any ideas
Thanks
 
Old 05-26-2004, 10:47 AM   #2
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
What did you do to "take 250 meg from this drive and change it to fat32"?

Michael
 
Old 05-27-2004, 05:18 AM   #3
quantum_qwerty
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I used partition magic. It asked what drive would you like to take space from, and what format to make it.
 
Old 05-27-2004, 10:46 AM   #4
dfctve_end_user
Member
 
Registered: Dec 2002
Location: Kalamazoo, MI - US
Distribution: Ubuntu 8.04 Hardy Heron LTS x86_64
Posts: 144

Rep: Reputation: 15
there are patches to mount ntfs in linux.

http://www.linuxforum.com/linux_tutorials/1/1.php

if you have a rescue floppy that you made when you installed you may be able to modify grub. I would check your partitioning again in partition magic and see if the /boot and / filesystems still exist. With M$ the conversion from ntfs to fat32 is never pretty.
 
Old 05-29-2004, 06:56 AM   #5
quantum_qwerty
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, first of all I tried the rescue floppy but I updated fedora on line just before all this stuff went wrong. The floppy does not help, and I guess its because I should have created a new one because stuff would have been changed in the update. It looks like it boots as normal then comes up with errors, I think it was some thing like “system panic”
I have used Knoppix to go in a check that all my file systems are in tact (although I could not find the /filesystems folder I am using fedora core 1)
I have used fdisk /dev/had command and found some thing interesting. Upon running this command I got the following warning, “ the number of cylinders for this disk is 2432 there is nothing wrong with this but this is larger than 1024 and could cause problems at boot time with: software that runs at boot, or booting and partitioning software from other OS’s”
Also if i PWD in this command I see the following

Device boot start end system
/dev/hda1 * 1 1156 hpfs/ntfs
/dev/hda2 1157 1509 hpfs/ntfs
/dev/hda3 1510 2431 win95 ext’d (LBA)
/dev/hda4 2432 2432 win95 fat16
/dev/hda5 * 1510 1541 win95 fat32
/dev/hda6 1542 2367 linux
/dev/hda7 2368 2431 linux swap

I am guessing that when I made way (accidentally) for the fat32 partition, where the old boot files were located partition magic just moved them some place else but the grub program does not have this new address for these files and is still looking at start position 1510, which is now allocated for the fat32 partition, but is still labelled as a boot partition. This is all speculation as I am new to fedora/linux. My next step would be to try and remove hda5 from the boot sequence and instead move it to hda6 if that makes sense.
Any ideas how to do this, or other things to try, with knoppix I am able to go into the /boot folder, and any other linux folder and change files, if that’s any help
Thanks
Also I have just noticed there are two devices with the same start place, hda3 and hda5 is this normal??
 
Old 06-01-2004, 11:01 AM   #6
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
I think you may have reordered the partition numbers. Since there is now 1 extra.
For example, /dev/hda3 may now be /dev/hda4
You could try undoing the changes made.
the easyist thing to do would be to reinstall linux
 
Old 06-05-2004, 01:18 AM   #7
quantum_qwerty
LQ Newbie
 
Registered: May 2004
Posts: 4

Original Poster
Rep: Reputation: 0
A solution to the problem
Incase any one else is having the same problem as I did, here is how I finally resolved it.

Indeed to do a fresh install of Fedora was the final option for me.
But I found that when I used the original disk, it gave me the option to create a new boot disk. It scanned the hard drives and found Fedora and created a new boot disk, not only did it do this but I guess it some how fixed the MBR because I can now also boot windows.
The only thing is now instead of booting as before, that is you get the grub screen at start up, you get an error message “unable to mount partition blah blah” but if you press an arrow key you get the options of which to boot fedora or windows, only thing is the screen is filled with random characters, but I guess this is some thing to do with grub configuration, another thing altogether.
Thanks
 
  


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
My view of operating systems so far linuxLuser LinuxQuestions.org Member Intro 1 01-24-2005 04:37 AM
2 Women two Operating systems sheryco General 10 06-10-2004 05:50 AM
Pricetags on Operating-Systems... Megamieuwsel General 17 10-29-2003 07:33 AM
2 disks / 2 Operating Systems jester_69 Linux - General 4 09-23-2002 07:57 PM
Two Operating Systems PEDRO Linux - Software 1 01-28-2001 11:34 AM

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

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