Can't remove CentOS 5.3 partition

If it doesn't fit in another category, ask it here.

Can't remove CentOS 5.3 partition

Postby skwitz » 2010/06/07 18:23:13

hey, newbie here.
I have a x86 based system.
My password was sabatoged so I need to remove the partition without logging on. I can't use parted on the command line before booting. I tried booting from the installation cd, but it automatically boots from the hard disk. I don't know the device string of the usb cd drive I'm using.
How can I force the system to boot from the cd?
skwitz
 
Posts: 2
Joined: 2010/06/07 17:24:19

Can't remove CentOS 5.3 partition

Postby gerald_clark » 2010/06/07 19:36:33

Welcome to CentOS.
Please do the new user reading:
http://www.centos.org/modules/newbb/vie ... p?forum=47

Boot up single user, and use the passwd command to change the password.
Another option is to boot the DVD in rescue mode, chroot to your system and run passwd.
gerald_clark
 
Posts: 9130
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Can't remove CentOS 5.3 partition

Postby chuina » 2010/06/07 23:56:36

See Booting into Single-User Mode

You'll select "CentOS release 5..." at GRUB menu.
chuina
 
Posts: 355
Joined: 2009/12/11 10:25:56

Re: Can't remove CentOS 5.3 partition

Postby skwitz » 2010/06/08 15:25:00

I tried single user mode and change my password, and it said that it successfully changed. But when I tried to log in it still said login incorrect.
Sorry, my system is x83 I made a mistake. I've been trying to boot from the cd but it won't. I tried grub append>boot cd. I tried grub append>boot cd rescue mode. But it always booted from the harddisk. The cd I'm using is CentOS 5.3 cd #1. What's the exact append command I should use to force boot from the cd.
skwitz
 
Posts: 2
Joined: 2010/06/07 17:24:19

Re: Can't remove CentOS 5.3 partition

Postby pschaff » 2010/06/08 15:47:30

Not a CentOS or GRUB problem. You need to set your BIOS boot order to boot from the CD device before the hard disk.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America


Return to CentOS 5 - Miscellaneous Questions

Who is online

Users browsing this forum: No registered users and 0 guests