LinuxQuestions.org
Visit Jeremy's Blog.
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 08-18-2004, 07:35 PM   #1
DivisionByZero
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9
Posts: 5

Rep: Reputation: 0
Reformating linux


I'm probably going to reformat linux pretty soon and then reinstall it on a smaller partition. Actually, I forgot my password for it so I have no use for the 60GB it takes up on my disk. I rarely used it since my favorite proggraming language is Windows only. Anyway, right now my comp is starting up with GRUB. I'm pretty new to using bootloaders etc, but I want to know if I can uninstall linux and then boot to windows by default. How would I do this? I don't even know where GRUB is stored. On the drive I have for linux I have a 20 GB shared partition, a 102 mb partition (who knows) , a 55 GB partition for linux, and another unknown 1 GB partition.

Thanks for any help.
 
Old 08-18-2004, 07:48 PM   #2
65_289
Member
 
Registered: May 2002
Distribution: Ubuntu 5.04, Kanotix
Posts: 163

Rep: Reputation: 30
If you have a bootable Windows CD, you can boot into the Recovery Console (2000/XP) and run "fixmbr", or run "fdisk /mbr" (Win98/ME).
 
Old 08-18-2004, 08:07 PM   #3
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,386

Rep: Reputation: 244Reputation: 244Reputation: 244
You can change or delete your password by editing /etc/passwd and or /etc/shadow (or do an update with your cd's).

Last edited by jens; 08-18-2004 at 08:10 PM.
 
Old 08-31-2004, 01:09 AM   #4
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
well...unless you mean it'll screw the linux mbr, fixmbr doesn't render a partition unbootable.....

of course, it is completely possible that I am 100% mistaken.
 
Old 08-31-2004, 03:56 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: Reformating linux

Quote:
Originally posted by DivisionByZero
I'm probably going to reformat linux pretty soon and then reinstall it on a smaller partition. Actually, I forgot my password for it so I have no use for the 60GB it takes up on my disk. I rarely used it since my favorite proggraming language is Windows only. Anyway, right now my comp is starting up with GRUB. I'm pretty new to using bootloaders etc, but I want to know if I can uninstall linux and then boot to windows by default. How would I do this? I don't even know where GRUB is stored. On the drive I have for linux I have a 20 GB shared partition, a 102 mb partition (who knows) , a 55 GB partition for linux, and another unknown 1 GB partition.

Thanks for any help.
Grub most likely resides in your MBR...

Reclaiming the passwords is reasonably esay,
but if you are about to repartition anyway you
can just delete all partitions (either from the XP
installation process or from the rescue CD).

Out of curiosity, what's your favourite windows-
only programming language? :}


Cheers,
Tink
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
Reformating Hard Drive Zebe SUSE / openSUSE 1 04-04-2005 02:39 PM
need help reformating hdd! thrustan Linux - Hardware 1 03-10-2005 11:25 AM
Reformating and reinstalling windows with a duel boot. whited Linux - General 2 03-09-2005 11:42 AM
Reformating ext2 to fat32 ealedesma Linux - Hardware 1 06-08-2003 08:07 PM

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

All times are GMT -5. The time now is 11:54 PM.

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