How to remove Ubuntu without root pw

Thread Tools Search this Thread
# 1  
How to remove Ubuntu without root pw

I have a dell pc with Ubuntu as the only OS, however, the only admin user no longer works here.

Due to my requirements, I have to either remove Ubuntu (12.04) and install XP or do a dual boot by adding XP. Any thoughts on how to either change the pw to allow me to make changes or take Ubuntu off completely? I've tried running the XP install disk but getting a weird Trap General Protection Fault error.



# 2  
You will have to reformat/partition the hard drive to install XP. That effectively removes everything.


If you have a ubuntu CD, you can boot single user from the disk, which automatically makes you root. Search the forums for 'lost root password linux'. We get this question a lot.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #152
Difficulty: Easy
In 1995, Novell transferred the Unix trademarks to the ACME Computing Company.
True or False?

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Execute Ubuntu 14.04 cronjob as non-root

I have created a cronjob that successfully executes and among other thing runs aria2c to download several files and save them to a folder. However, since it executes as sudo, the downloaded folder is saved with those permissions. Is there a way to execute the cronjob so that the downloaded folder... (4 Replies)
Discussion started by: cmccabe
4 Replies

2. IP Networking

Ubuntu root as proxy, connected to VPN

Hey guys, I am looking the following: I am trying to set up a proxy on my Ubuntu root server, which should be connected to a VPN provider. Only the proxy should be connected to VPN, all other root traffic should not be touched in any way Is this possible technically? Regards (3 Replies)
Discussion started by: Marken137
3 Replies

3. Red Hat

Cannot remove root Filesystem from the Multipath configuration

Hello all, I am running "Red Hat Enterprise Linux Server release 6.4 (Santiago)" The root Filesystem is currently part of the Multipath configuration and I need to remove it without rebooting the production Server. The wwid I want to remove from Multipathing is the last one i the list of... (3 Replies)
Discussion started by: logsbyrne
3 Replies

4. Shell Programming and Scripting

Shell script to add root element and remove to make it good

Hi All, I have a situation to parse a file with following limitations: 2) The XML is not proper as it has no fix root tag rather have multiple XML in a single XML. or you can say multiple root elements. This file will be huge in size. So before i think of some good solution to parse it, i... (1 Reply)
Discussion started by: peekuabc
1 Replies

5. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

6. Ubuntu

Ubuntu root recovery!

Hi I have an Ubuntu 10.10 machine. I want to recover root password. I know it have to be done while booting but in boot shell. I tried to do it but failed. Please remedy my problem. (2 Replies)
Discussion started by: nixhead
2 Replies

7. UNIX for Dummies Questions & Answers

ubuntu root

on ubuntu try without saving changes i'm trying to do root stuff with sudo & su I tried to change permissions (on files) but unsuccessfully whoami is ubuntu i'm doing this to experiment with root & sudo error msgs i'm gettin useradd: unable to lock password file help? thanks:) (2 Replies)
Discussion started by: JudoMan
2 Replies

8. UNIX for Dummies Questions & Answers

Run non-root script as root with non-root environment

All, I want to run a non-root script as the root user with non-root environment variables with crontab. The non-root user would have environment variables for database access such as Oracle or Sybase. The root user does not have the Oracle or Sybase enviroment variables. I thought you could do... (2 Replies)
Discussion started by: bubba112557
2 Replies

Featured Tech Videos