LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-11-2009, 03:05 AM   #1
velouria
Member
 
Registered: May 2008
Posts: 57

Rep: Reputation: 15
remove linux please read more


hi everyone,

i bought a new pc online which i will return for several reasons. the problem is that i installed ubuntu and now i have to delete it before returning the pc.

actually i already deleted the linux partition with gparted but i cant resize windows partition nor fix dual boot

any help would be mostly welcome
 
Old 10-11-2009, 03:45 AM   #2
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
to fix your MBR (master boot record) boot with your windows cd and launch the recovery console (black DOS like screen). Select your drive and enter your administrator password. Issue the command

Code:
fixmbr

Now you windows has a new MBR setup it will boot windows.

I have written a short tutorial here if it helps http://wetalklinux.com/index.php?topic=15.0
 
Old 10-11-2009, 03:48 AM   #3
velouria
Member
 
Registered: May 2008
Posts: 57

Original Poster
Rep: Reputation: 15
hi, thanks for replying,

i dont have a windows cd, vista is always delivered with the pc...

is there another way? i used gparted from the live cd, it says that the linux partition is mounted...
 
Old 10-11-2009, 04:01 AM   #4
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
I did do some research and found this

http://www.ambience.sk/fdisk-master-...ilo-fixmbr.php

It may help



NOTE:
This could be damaging to your system considering its a 3rd party site and I have no knowledge of this being done this way
 
Old 10-11-2009, 07:23 AM   #5
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
If you're returning the computer, then the supplier should reimage the disk anyway before giving it to another customer. Even if they're throwing it away, they should still wipe the disk. Personally, I'd wipe the hard disk and delete the partition before giving it back anyway.

I don't think you'll get into any trouble from changing the partition size, or even deleting Vista from the machine; I'd actually consider it a sensible precaution before returning a machine to ensure that the next owner didn't get any stuff that I'd installed (or worse, any of my data).

If you want to resize the disk, you can use the gparted live CD, but you need to unmount the partition. Boot the computer from the CD, open a terminal and type "umount /dev/sd* /dev/hd*", then you should be good to go.
 
Old 10-11-2009, 07:32 AM   #6
velouria
Member
 
Registered: May 2008
Posts: 57

Original Poster
Rep: Reputation: 15
Unhappy

hi, i already deleted linux. the problem is that i cant fix grub loader. i'm afraid they'll refuse to get it back for that reason
 
Old 10-11-2009, 07:53 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Water under the bridge perhaps, but I would advise anyone buying a PC to be sure that an installation CD comes with it.

I think you can use anyone's Windows install CD to restore the mbr, but I agree with the view that it should not matter. As long as you are within their return polices, I doubt if they will care what you installed or removed.
 
Old 10-11-2009, 08:04 AM   #8
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 893

Rep: Reputation: 119Reputation: 119
That is correct any windows xp cd will work. How ever do take pixellany advice. Anytime you buy a PC with a windows system always get the Resource CD the real manufacture copy so you don't end up with a boot leg copy or getting stuck in a spot where you need it but don't have it.
 
Old 10-11-2009, 08:48 AM   #9
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

'Windows Vista Recovery Disc Download';

Quote:
excerpt from 'Slackware-Links'
'If you're like most PC users, you probably got Windows Vista with a new PC or laptop. And if you're like 99% of the population, you get your new machines from one of the major manufacturers. Dell, Acer, HP, Toshiba, Lenovo, they all have one thing in common: they don't give you a real Windows Vista installation disc with your purchase. Instead, they bundle what they call a "recovery disc" (that's if you're lucky - otherwise you'll have a recovery partition instead) with your machine and leave it at that.'

Read more: http://wiki.linuxquestions.org/wiki/...#ixzz0TdQ4HZLI
 
Old 10-11-2009, 08:49 AM   #10
velouria
Member
 
Registered: May 2008
Posts: 57

Original Poster
Rep: Reputation: 15
thanks everyone,

ive no windows cd. i erased linux with fdisk and followed http://ubuntuforums.org/showthread.php?t=224351 to fix grub, but doesnt work no matter what sda# i type in sudo mount -t ext3 /dev/sda6 /mnt/root (?)

anyway i agree that whatever i install or remove should make no difference. but i'm afraid that will be an excuse not to accept it back

Last edited by velouria; 10-11-2009 at 08:52 AM.
 
Old 10-11-2009, 08:55 AM   #11
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
In case the others don't work...

Here is a recovery disk for Vista that may prove useful.

http://neosmart.net/blog/2008/window...disc-download/

Once you can boot Vista again, you should be able to use Vista's partitioner to expand the partition you previously shrank without effecting the Vista boot loader.

I would restore the system to the state in which I purchased it, giving the seller/manufacturer no ground to question my right to return it because I had altered the OS.
 
Old 10-11-2009, 08:55 AM   #12
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by velouria View Post
thanks everyone,

ive no windows cd. i erased linux with fdisk and followed http://ubuntuforums.org/showthread.php?t=224351 to fix grub, but doesnt work no matter what sda# i type in sudo mount -t ext3 /dev/sda6 /mnt/root (?)

anyway i agree that whatever i install or remove should make no difference. but i'm afraid that will be an excuse not to accept it back
Commands to install grub using ubuntu live-cd:
Code:
sudo grub
find /boot/grub/stage1
root (hd?,?)
setup (hd0)
quit
 
Old 10-11-2009, 09:00 AM   #13
snowtigger
Member
 
Registered: Mar 2005
Location: england
Distribution: slackware, win2k
Posts: 364

Rep: Reputation: 35
you might actually have an iso of the install disk already. My sister brought a laptop with vista and no install disk, but i had a little look about and found the iso image on there. can't remember where but just search your harddrive and you might be lucky.

It seems that a lot of suppliers are trying to save as much money as possible by not forking out the small amount of money for a psychical cd. All for a little more profit.

 
Old 10-11-2009, 09:12 AM   #14
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
If all else fails.

If you bought this system with vista pre-installed there should be a separate partition that contains the vista image for system restore. If so, do a system restore, there should be a certain keystroke to get into the system restore utility. I'm not sure what it would be on your system (You never said what kind of pc it is) but on a dell it is Ctrl + F11 this should put the system back to its original state.
 
Old 10-11-2009, 09:16 AM   #15
velouria
Member
 
Registered: May 2008
Posts: 57

Original Poster
Rep: Reputation: 15
it's TOSHIBA SATELLITE L350-23J. in that case the damage is already done cause there were 'two disks', but when i installed linux i used the second one...
 
  


Reply



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
help rm: cannot remove : Read-only file system ufmale Linux - Newbie 2 08-21-2009 06:19 PM
remove read only attribute in user's directory dsholden Linux - Newbie 5 09-14-2005 05:10 PM
Don't read FC2 instalation cd when add/remove packages marper Fedora 1 08-15-2004 09:18 PM
linux scripting help needed read from file line by line exc commands each line read atokad Programming 4 12-26-2003 10:24 PM

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

All times are GMT -5. The time now is 11:58 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
Open Source Consulting | Domain Registration