LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 03-15-2012, 09:56 PM   #1
Anne.Onomaus
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Rep: Reputation: Disabled
Is There A Way To Erase Ubuntu From Your Netbook Without Administrator Password?


My parents have a netbook running some GNOME Ubuntu but when they got the computer they didn't get a admin password or root password. They only used it for basic web ish so never needed more than basic clicking skills but now its just garbage so I'm trying to delete everything and put some new Linux-Like on. If someone could explain how to do this without the admin password it would be appreciated
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 03-15-2012, 10:12 PM   #2
Dman58
Member
 
Registered: Nov 2010
Location: The Danger Zone
Distribution: Slackware, Mint, & random selection for VM
Posts: 213

Rep: Reputation: 26
An option would be installing a new distro via USB, or network, even CD-ROM if you have an external drive. Get into the BIOS settings of the netbook and change the boot order to whicher option is applicable to your situation. Download a distro of your choice and install. As long as the proper partition is selected the previous Linux install will be overwritten. As long as there is no BIOS password then you should be fine. Unless there is a more direct approach that could crack the admin password, that's all that I can suggest.

Hope this helps
 
2 members found this post helpful.
Old 03-15-2012, 10:14 PM   #3
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,019

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Unless it's a bios password all you have to do to erase it is use something like gparted-live-cd or usb & erase the partitions. If you are trying to erase them from the OS it won't do it because your partitions are mounted.

http://gparted.sourceforge.net/livecd.php

Last edited by EDDY1; 03-15-2012 at 10:15 PM.
 
1 members found this post helpful.
Old 03-15-2012, 10:16 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,045

Rep: Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970
Well, perhaps we should start at the beginning.
Ubuntu doesn't use the root user - everything can be done by the normal user via the "sudo" interface.

It can be upgraded, or replaced as above, but may not actually be necessary.
 
Old 03-15-2012, 10:20 PM   #5
Anne.Onomaus
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
i already have the distro i want and can put it on a usb but how do i get to BIOS settings to see if there is a BIOS password and to change boot order.
 
Old 03-15-2012, 10:24 PM   #6
Anne.Onomaus
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
i cant use sudo command because i dont have the password

Last edited by Anne.Onomaus; 03-15-2012 at 10:42 PM.
 
Old 03-15-2012, 10:50 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,045

Rep: Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970
sudo uses the user password, not the "root" password.

As for the BIOS, watch the bottom of the "splash" screen (when you power the machine on) for a message indication which key (F2, Del, F9 ...) to use. With luck it'll have a key for the boot menu itself.
You have to hit the key whilst the splash is showing - not much time.
 
Old 03-15-2012, 11:03 PM   #8
Anne.Onomaus
LQ Newbie
 
Registered: Mar 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Boot Menu reads:
++++++++++++++++++++++++++++++++++
-Hard Drive
-USB Storage
-CD/DVD/CD-RW
-Removable Devices
-Network Boot
-Diagnostics
<Enter Setup>
++++++++++++++++++++++++++++++++++

I have the new distro on a usb
what boot menu selectable must i chose to write over the old ubuntu
 
Old 03-15-2012, 11:29 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,045

Rep: Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970Reputation: 970
Just move the USB entry above the "Hard Drive". They are selected in order.
You can leave it that way, as if there is no bootable USB, it will work down the list and use the hard-drive.

Each BIOS is different - you'll have to play around until you find what works.
 
Old 03-16-2012, 04:14 PM   #10
jefro
Guru
 
Registered: Mar 2008
Posts: 11,000

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
syg00 is giving good advice. Just to check here.

When you say boot menu, it may not be the best choice on all systems. Normally you have to power off a system. Connect the usb and THEN go to the actual bios menu, not the boot menu. Find the order of hard drives and then move the usb up in the order to first. (what syg00 said)

Some boot menu's may offer ways to select a usb but many will not. In almost all cases I find the system has to be powered off and some cases not even a simple reboot works.


Also did you test this usb, is it known to be working?


As syg00 stated before you may already have access to the entire system.

Last edited by jefro; 03-16-2012 at 10:05 PM.
 
Old 03-16-2012, 08:45 PM   #11
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, Mint
Posts: 7,319

Rep: Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380Reputation: 1380
If you want to look at the BIOS, the menu selection would be "Enter Setup." If there is a BIOS password, that will ask for one.

Odds are there isn't. Most persons don't know what BIOS is and only the clinically paranoid password protect the BIOS on a home computer. If the bad guy is in your house mucking about in the BIOS of your computer, you have physical security problems that outweigh your computer security problems.

More than likely, if you boot to a bootable USD drive or CD (my netbook will quite happily boot to a CD when I connect a portable CD drive), you can just install from that.

Edit: You cannot erase a distribution from inside the distribution.

You overwrite it from the outside, by deleting the partition, repartitioning, and installing something new.

You can severely damage it from the inside, but you cannot remove all traces of it.

Last edited by frankbell; 03-16-2012 at 08:49 PM.
 
Old 03-17-2012, 11:05 AM   #12
McPhart
LQ Newbie
 
Registered: Mar 2012
Location: The Netherlands
Distribution: Debian Sarge, Ubuntu and BackTrack
Posts: 6

Rep: Reputation: Disabled
Easiest thing to do, is to use the "edit" option in the Grub bootmenu.
Make sure you replace whatever follows the "init=" with: "init=/bin/bash"

This way you will boot into a shell with root privileges.
Mount whatever you need and run "passwd root". This will set a new root password
Reboot the machine as usual, open a shell and type "su". You will be prompted for the root password and that's it!
 
Old 03-17-2012, 11:19 AM   #13
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,206

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
My parents have a netbook running some GNOME Ubuntu but when they got the computer they didn't get a admin password or root password.
Ubuntu uses 'sudo' and enters passwd. Your parent should have it.

Quote:
They only used it for basic web ish so never needed more than basic clicking skills but now its just garbage so I'm trying to delete everything and put some new Linux-Like on.
Use USB booted disk manager (gParted, or another) from it you can delete the partition where Ubunto is installed and replace it with another Linux from the USB itself.
 
Old 03-17-2012, 11:29 AM   #14
273
Senior Member
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64&i386, Raspbian Jessie, various VMs
Posts: 3,161

Rep: Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729Reputation: 729
On my EEEPC to boot from USB you hit F2 on startup to enter BIOS, navigate to "Boot" in the BIOS setup and go, somewhat confusingly, to "Hard Disk Drives" then change the order so that "USB:ClvrStuf USB" is first (for you it will probably be "USB:" then the drive manufacturer name). Then press F10 to save and exit and the EEE should boot from the USB device.
I thought I'd mention this because it took me ages to work out where the option to boot from USB was.
 
  


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
LXer: Natty Narwhal netbook: The ultimate network administrator toolkit LXer Syndicated Linux News 0 08-12-2011 09:22 PM
Installing Ubuntu Netbook on Acer Aspire one with no OS, no password jakers91 Linux - Laptop and Netbook 26 03-25-2011 11:13 PM
Administrator Password ajkannan83 General 2 04-21-2006 09:54 PM
Mysql password problem (need to erase old) runlevel0 Programming 1 07-27-2005 01:22 PM


All times are GMT -5. The time now is 09:01 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration