LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-04-2004, 01:39 PM   #1
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Rep: Reputation: 15
Talking What if your MBR (grep) is deleted by xp during install and no boot disk available?




Windows said some file called system was corrupt or something...owell i gave up trying to fix it with their "repair" thing cause it was useless and not worth it when i could get windows back up with all important things (americas army & vs.net 2003 & photoshop cs and norton sys worx 2004 & zone alarm pro & trillian & mozilla yatta yatta yatta) and all updates installed in like 20 mins or less...

Anyhoot i got a nice linux install going on another partition...so i can play linux aao ...and i tried inserting the fedora core 1 install cd at boot incase it would detect the other install, but no luck.

Is their anyway to install grep, and if possible with the nice blue fedora background and not the default lame green on black one, and also do this from a floppy or something that i can somehow do with the linux install cds...

if not is their anyway for me to boot that partition with some premade linux boot floopy that i have yet to find on the net.

any theories?
 
Old 05-04-2004, 01:46 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,931

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
To restore the grub boot install CD and select rescue mode. Then enter the following commands:
chroot /mnt/sysimage
grub-install
 
Old 05-04-2004, 02:18 PM   #3
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
Excellant...gonna try that right now.

This has gotta be one of the biggest issues with multiple os installs and all i can blame is M$ for being so anti linux with their mindless overwriting installing and Also for their built in random self-destruct sequence that can happen anytime of the day on a perfectly good computer that was turned off properly and was running great before with all updates and everything!!!! Good thing i was able to boot into linux before reinstalling windows and was able to use the ntfs plugin for fedora to access my c:\ drive and copy the contents of my computers desktop to a linux fat32 partition...and mydocuments is always safe cause all the other files that are mine are on a seperate partition...Windows is all alone...THE WAY IT SHOULD BE!!! AHAHAHAHAHA!!
 
Old 05-04-2004, 02:47 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Well the last thing you want is not being able to load your operating system after you installed it, in this sense the Windows installer is doing a pretty good job.
 
Old 05-04-2004, 04:21 PM   #5
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
Ok it didnt work out...i tried also a program that lets you copy files from linux to windows and it didnt see the partition and same goes for partition magic which wasnt sure what kinda file type the partition was, when its capable of understanding linux things.

So i decided to make another partition and installed linux onto that one...and added a goal to get the up2date file folder off of my dead linux's body so that i can recreate a linux install, and not spend thousands of days downloading updates as im on dialup, or once again if i can rescue it somehow.

new problem is as follows...when i try to mount it with this string in /etc/fstab

Code:
 /dev/hda6 		/mnt/Linux-to-Linux     vfat users,owner,rw,umask=000 0 0
it works except it doesnt show a whole lot of stuff...all it has is "boot.msg", "initrd.img", "ldlinux.sys", "syslinux.cfg", and "vmlinuz"...where i should be seeing the thousands of files that make up a linux install directory.

heres the readout from fdisk -l which says its a "linux" partition (hda 6 is the dead linux install one with stuff i want to recover as stated before)

Code:
 [root@localhost root]# fdisk -l
 
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      2040  16386268+   7  HPFS/NTFS
/dev/hda2          2041     19457 139902052+   f  Win95 Ext'd (LBA)
/dev/hda5          2041      2805   6144831    7  HPFS/NTFS
/dev/hda6          2806      5355  20482843+  83  Linux
/dev/hda7          5356      5616   2096451   82  Linux swap
/dev/hda8          5617     12828  57930358+   7  HPFS/NTFS
/dev/hda9         12829     15378  20482843+  83  Linux
/dev/hda10        15379     17928  20482843+   7  HPFS/NTFS
/dev/hda11        17929     19457  12281661    b  Win95 FAT32
[root@localhost root]#
 
Old 05-04-2004, 04:33 PM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:
/dev/hda6 /mnt/Linux-to-Linux vfat users,owner,rw,umask=000 0 0
is it suppose to be "vfat" ?
 
Old 05-04-2004, 04:54 PM   #7
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
I am not certain which to use in this case...its really supposed to be ext3 but that doesnt show anything...dont remember if it even mounted it when i tried with ext3 instead of vfat
 
Old 05-05-2004, 12:03 PM   #8
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
I'm having touble understanding you problem but here it goes anyway. You can't boot linux so you need to install grub on the MBR? You can use knoppix to mount your root partition of the install disk. Once you mount your root partition you need to change your your grub.conf or menu,lst file to point to the correct partition id's. Then run "grub"
> root (hd0,number fo partition that menu.lst is on)
> setup (hd0) this will install in on mbr


Not for sure if this is the problem you are having you can clarify.
 
Old 05-05-2004, 11:12 PM   #9
FocusedWolf
Member
 
Registered: Feb 2004
Distribution: Fedora Core 3
Posts: 43

Original Poster
Rep: Reputation: 15
i believe now the damage is far worse...possibly partition table deleted. I tried running the program "getdataback for fat" in windows but it didnt show me more then 7 or so files with odd names.
 
  


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
MBR deleted now what? greythorne SUSE / openSUSE 2 05-11-2005 09:48 AM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 05:53 PM
Install GRUB in MBR or /boot? kmlinux12 Linux - Enterprise 7 09-25-2004 02:47 AM
I deleted the boot loader! now how do i install one? Devboy *BSD 5 09-22-2004 03:30 PM
How to install a deleted boot loader munna_502 Linux - Software 2 03-01-2004 04:54 AM


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