Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-12-2005, 11:26 AM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: May 2004
Posts: 4
Default Linux blues!!!


I have a P4 3.0 Ghz with a Mercury Mobo and 256 DDR.
But the point is I have the following OSes:
SATA Hard Disk sda :
sda1-> C: Win 98
sda5-> E: Win Xp
sda6-> F: Data
sda7-> G: Data

IDE hard Disk hda :
hda1-> D: Win Xp(not functioning cos of system change)
and similaryly hda2 to hda12.

Now I have FC4 and Ubuntu installed on my system with GRUB as the boot loader. I installed GRUB in the first sector of /boot of FC4 and configured GRUB to boot Ubuntu as well.

The system was working fine till then.
Now, I thought I would have the GRUB installed in /boot of Ubuntu to boot the linux systems.
So I used dd if= of= bs= count= to copy the first sector and get that to boot with the NT loader.
This is where the problem arised. By mistake, Iwrote the output file to /dev/sda6 (the whole device) instead to a file (ie /dev/sda6/ubuntu.dat). I executed dd with of=/dev/sda6 and after that I found I had done a mistake. Then I executed with dd of=/dev/sda6/ubuntu.dat. Now these commands worked fine, but the real problem arised only after I rebooted. My NT loader wasnt functioning and I had to recover the MBR to get it working. This further lead to the shuffling of my partitions. ie hda7 got assigned to hda9 and similarly 2 other partitions got shuffled.

I was able to recover data from /dev/sda6 and also got XP and 98 in running condition.

The real problem is getting both the Linux OSes to work. GRUB has been misconfigured and all permutations that I have tried dont seem to work with them??????
Reason I have not mentioned the hda# of the linux sys is each of them have been jumbled across another number depending on their position in the hard disk. Previously, hda11 and hda12 used to be before hda7 and hda8. Now its the other way around.


WHAT SHOULD I DO??????


PS: I have posted this question on some other forums as well, so if mods find this to be offending they can delete this thread.
praveen44 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-12-2005, 07:33 PM   #2 (permalink)
Broken In
 
harmax's Avatar
 
Join Date: Mar 2004
Location: chennai
Posts: 135
Default

offending?!!!?
__________________
WORK EXPANDS TO FILL THE TIME NEEDED FOR ITS COMPLETION
-------- PARKINSON\'S LAW
harmax is offline  
Old 08-12-2005, 08:18 PM   #3 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default

I am getting confused reading ur partition info :roll: but anyway u can rescue grub.get hold of a fedora/rhel cd U know how to rescue..execute a shell...mount /proc (already done) type fdisk -l if in doubt of the root partiton which u want to set grub.chroot to the mounted Linux root partn of ur choice..type grub
set new root
[code]grub> root
Possible commands are: root rootnoverify

grub> root (hd0, x) (press tab for possible entries)
grub> setup (hd0) if u want in ur MBR
or
grub> setup (hd0,x) where x is the /boot partn...


and edit ur /etc/fstab for root /boot accordingly....read 'info grub'.also check ur /boot/grub/menu.lst or /boot/grub/grub.conf
praka123 is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by icebags
- by clinton
- by topgear
- by trublu

Advertisement




All times are GMT +5.5. The time now is 10:12 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2