Linux - NewbieThis 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
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.
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.
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
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.
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.
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.
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.
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.'
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
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.
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
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.