[Cialug] Booted Gentoo LiveCD - can't write to /dev/hda

Jason Warden jason at benalto.com
Sat Oct 20 23:12:45 CDT 2007


Very weird it's not letting you fdisk. Have you tried just going mkesfs
/dev/hda right off the bat to see if it'll do any damage?

On 10/20/07, Rachel Garrett <rmgarrett at gmail.com> wrote:
>
> I have a brain-tickled feeling that happens when I'm missing something
> obvious, but at the moment, I can't figure it out:
>
> 1. There's an old computer that I have a Gentoo Live CD running in;
>
> 2. I want to format the hard drive;
>
> 3. At the livecd# prompt, as root, I say fdisk /dev/hda.
>
> I get a warning message,
> "You will not be able to write the partition table.
> Note: sector size is 2048 (not 512)
> Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
> disklabel
> Building a new DOS disklabel. Changes will remain in memory only, until
> you decide to write them. After that, of course, the previous content won't
> be recoverable.
>
> Warning: invalid flag 0x0000 of partition table 4 will be corrected by
> w(rite)"
>
> 4. Then I tell it to create a new partition, accept the defaults, and say
> w to write out. It gives me an error, "Unable to write to /dev/hda."
>
> Why won't the changes take even when I'm root and say to write them?
>
> Thanks,
>
> Rachel
>
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20071020/4606abb1/attachment.html


More information about the Cialug mailing list