Using knoppix I get permission denied for device
Mike Reinehr
cmr
Mon May 17 11:58:16 PDT 2004
I concur with both Brett & Collins.
First, when I use Knoppix to access an existing installation, I log in as root
using one of the virtual consoles and then mount the partition in question,
in order to have read/write access. Knoppix has always recognized all of the
existing partitions for me. (I don't remember, now, if I first had to unmount
& then remount with without the read only option. Haven't done it in a
while.)
Second, you can't mount a hard drive, i.e., /dev/hda, only a partition,
i.e., /dev/hda1. You can access & manipulate the boot sector either with dd
(dd if=/dev/hda bs=512 count=1 of=whatever) or with sfdisk.
Hope this helps.
Mike
On Friday 16 January 2004 11:48 pm, Collins Richey wrote:
> On Fri, 16 Jan 2004 22:08:05 -0500
>
> "Brett I. Holcomb" <brettholcomb at charter.net> wrote:
> > Try doing an su. When I used Knoppix some months ago I found even
> > though I was supposed to have booted into root I had to run su to be
> > able to do things root can do.
> >
> > Joel Hammer wrote:
> > > I want to use Knoppix to rescue a lindows installation.
> > > I have good backups, and have reinstalled the OS from
> > > disk. Now, I have to untar my backups.
> > >
> > > I hesitate to do this on a running system, since I have
> > > bad memories of system files being overwriten by such an
> > > approach and that is not good.
>
> Correct me if I'm wrong, but I don't think it's possible to tar an hd? (ie
> the entire drive). What you have is one or more tars of specific
> directories in one or more hd?n. It is the hd?n that you need to mount for
> each untar operation.
>
> If you are concerned about the mbr on hd?, use grub or lilo to rebuild
> this. Before I tinker with this, however, I make sure to have a grub/lilo
> boot floppy handy with current specs to reboot in case it goes bang.
>
> HTH,
--
Debian 'Sarge': Registered Linux User #241964
----
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
--------
More information about the Linux-users
mailing list