Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-10-2006, 03:48 AM
|
#1
|
LQ Newbie
Registered: May 2006
Posts: 4
Rep:
|
dual boot problem
hello friends,
i am new to this site and also new to linux...i was having windows 2000 installed in my computer then i tried to install linux fedora core one.
i think unknowingly deleted windows partition...and now i have not been able to operate in windows environment. i can boot only in liinux environment....
is there any way to recover back my windows environment ...
please help....i would be glad if i am provided with detail step to do the same
thank u in advances
sonam
|
|
|
05-10-2006, 04:00 AM
|
#2
|
Member
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353
Rep:
|
Quote:
is there any way to recover back my windows environment ...
|
That'd depend on whether you really overwrote windows partition or it is just a wrongly configured grub.
Boot into linux and launch a console window and type in the following commands:
# su
password:<enter-your-password-here>
#fdisk -l /dev/hda
Type in your password in place of <enter-your-password-here> above and post the output of fdisk -l command. Ofcourse, this will work if the hard disk you have is an IDE primary. If this doesn't work and displays the partitions, replace 'hda' above with 'hdb' or 'sda'.
Also, post the contents of /boot/grub/menu.lst file. Note that, it could be called /boot/grub/grub.conf on your machine.
|
|
|
05-11-2006, 06:19 AM
|
#3
|
LQ Newbie
Registered: May 2006
Posts: 4
Original Poster
Rep:
|
kevkim55 ,
thanks for your prompt reply...i am posting here below fdisk -l /dev/hda
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
and of menu list
root(hd0,0)
kernel /vmlinuz-version ro root=/dev/hdc1
initrd /initrd-version.img
boot=/dev/hda
default=0
timeout=20
;splashimage=(hd0,0)/grub/splash.xpm.gz
title fedora core (2.4.22-1.2115.nptl)
root(hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/LABEL=/
initrd /initrd-2.4.22-1.2115.nptl.img
thanks in advance
sonam
|
|
|
05-11-2006, 06:41 AM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,388
|
Doesn't look right.
Try that again, but this time as "fdisk -l" (i.e., without the disk specification).
|
|
|
05-14-2006, 03:13 AM
|
#5
|
Member
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353
Rep:
|
Quote:
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
and of menu list
root(hd0,0)
kernel /vmlinuz-version ro root=/dev/hdc1
initrd /initrd-version.img
boot=/dev/hda
default=0
timeout=20
;splashimage=(hd0,0)/grub/splash.xpm.gz
title fedora core (2.4.22-1.2115.nptl)
root(hd0,0)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/LABEL=/
initrd /initrd-2.4.22-1.2115.nptl.img
|
Thatz a mixture of /dev/hda and /dev/hdc !! I couldn't tell if your hard disk is /dev/hda or /dev/hdc !!
Do you know the hard disk you installed on is primary master or primary slave ? Or is it a secondary master ? How many hard disks have you got ?
Follow syg00's instructions and post the output of fdisk -l
Also, post the output of the command - mount
# mount
Post the results of mount command which wuld tell us exactly which partitions were mounted by linux.
|
|
|
05-14-2006, 10:19 PM
|
#6
|
LQ Newbie
Registered: May 2006
Posts: 4
Original Poster
Rep:
|
Disk /dev/hdc : 41.1 GB, 41174138880 bytes 255 heads, 63 sectors/tracks, 5005 cylinders units = cylinders of 16065 * 512 = 8225280 bytes
/dev/hdc * 1 4908 39423478+ 83 linux
/dev/hdc2 4908 5005 779152+ 82 Linux swap
/dev/hda1 * 13 104391 83 linux
thanks in advance
sonam
|
|
|
05-15-2006, 06:28 AM
|
#7
|
LQ Newbie
Registered: May 2006
Posts: 4
Original Poster
Rep:
|
hello
mount
0
/dev/hdc1 on / type ext39rw
none on /proc tupe proc (rw)
none on /dev/pts type devpts (rw, gid=5, mode=620)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
thanks
sonam
|
|
|
All times are GMT -5. The time now is 10:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|