...on the Christmas tree.
As I sit here typing, my desktop computer is going through a network install of CentOS 5.2. I was trying to rebuild my Live CentOS thumb drive (I accidentally deleted one of the files) and, in Gparted, I deleted the LVM partition of my main hard disk. I knew I did it (after the fact), but just didn't know how to fix it -- so I hooked up my USB hard drive, saved what I needed to save, rebooted and hoped that Gparted was kidding. It wasn't. So now I'm rebuilding my computer.
If this ever happens again (and I'm getting more senile by the day), is there a way to reclaim the LVM partition from CentOS? And, if not, what's the best alternative? -- if there is any.
Thanks for any advice.
I'm not the brightest bulb...
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: I'm not the brightest bulb...
[quote]
RonB wrote:
...on the Christmas tree.
[/quote]
Perhaps that explains why this post in in Social rather than a more appropriate forum such as General. :-)
[quote]
As I sit here typing, my desktop computer is going through a network install of CentOS 5.2. I was trying to rebuild my Live CentOS thumb drive (I accidentally deleted one of the files) and, in Gparted, I deleted the LVM partition of my main hard disk. I knew I did it (after the fact), but just didn't know how to fix it -- so I hooked up my USB hard drive, saved what I needed to save, rebooted and hoped that Gparted was kidding. It wasn't. So now I'm rebuilding my computer.
If this ever happens again (and I'm getting more senile by the day), is there a way to reclaim the LVM partition from CentOS? And, if not, what's the best alternative? -- if there is any.
Thanks for any advice.[/quote]
You should be able to recreate the partition, before rebooting, and you could probably get away with it. Should just be a matter of creating a new entry that looks exactly like the old one did. As a hedge against future senility or other brain damage, you can create a backup of the partition table - I like sfdisk for this.
RonB wrote:
...on the Christmas tree.
[/quote]
Perhaps that explains why this post in in Social rather than a more appropriate forum such as General. :-)
[quote]
As I sit here typing, my desktop computer is going through a network install of CentOS 5.2. I was trying to rebuild my Live CentOS thumb drive (I accidentally deleted one of the files) and, in Gparted, I deleted the LVM partition of my main hard disk. I knew I did it (after the fact), but just didn't know how to fix it -- so I hooked up my USB hard drive, saved what I needed to save, rebooted and hoped that Gparted was kidding. It wasn't. So now I'm rebuilding my computer.
If this ever happens again (and I'm getting more senile by the day), is there a way to reclaim the LVM partition from CentOS? And, if not, what's the best alternative? -- if there is any.
Thanks for any advice.[/quote]
You should be able to recreate the partition, before rebooting, and you could probably get away with it. Should just be a matter of creating a new entry that looks exactly like the old one did. As a hedge against future senility or other brain damage, you can create a backup of the partition table - I like sfdisk for this.
Re: I'm not the brightest bulb...
[quote]
pschaff wrote:
[quote]
RonB wrote:
...on the Christmas tree.
[/quote]
Perhaps that explains why this post in in Social rather than a more appropriate forum such as General. :-)
[quote]
As I sit here typing, my desktop computer is going through a network install of CentOS 5.2. I was trying to rebuild my Live CentOS thumb drive (I accidentally deleted one of the files) and, in Gparted, I deleted the LVM partition of my main hard disk. I knew I did it (after the fact), but just didn't know how to fix it -- so I hooked up my USB hard drive, saved what I needed to save, rebooted and hoped that Gparted was kidding. It wasn't. So now I'm rebuilding my computer.
If this ever happens again (and I'm getting more senile by the day), is there a way to reclaim the LVM partition from CentOS? And, if not, what's the best alternative? -- if there is any.
Thanks for any advice.[/quote]
You should be able to recreate the partition, before rebooting, and you could probably get away with it. Should just be a matter of creating a new entry that looks exactly like the old one did. As a hedge against future senility or other brain damage, you can create a backup of the partition table - I like sfdisk for this.[/quote]
Thanks. I'll look into it.
pschaff wrote:
[quote]
RonB wrote:
...on the Christmas tree.
[/quote]
Perhaps that explains why this post in in Social rather than a more appropriate forum such as General. :-)
[quote]
As I sit here typing, my desktop computer is going through a network install of CentOS 5.2. I was trying to rebuild my Live CentOS thumb drive (I accidentally deleted one of the files) and, in Gparted, I deleted the LVM partition of my main hard disk. I knew I did it (after the fact), but just didn't know how to fix it -- so I hooked up my USB hard drive, saved what I needed to save, rebooted and hoped that Gparted was kidding. It wasn't. So now I'm rebuilding my computer.
If this ever happens again (and I'm getting more senile by the day), is there a way to reclaim the LVM partition from CentOS? And, if not, what's the best alternative? -- if there is any.
Thanks for any advice.[/quote]
You should be able to recreate the partition, before rebooting, and you could probably get away with it. Should just be a matter of creating a new entry that looks exactly like the old one did. As a hedge against future senility or other brain damage, you can create a backup of the partition table - I like sfdisk for this.[/quote]
Thanks. I'll look into it.
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: I'm not the brightest bulb...
. . . but an energy saving one, perhaps? :roll: