fdisk -l not working for any drives


Forum: DSL Embedded
Topic: fdisk -l not working for any drives
started by: Thelvyn

Posted by Thelvyn on Dec. 27 2006,20:12
dsl@box:~$ fdisk -l
cannot open /dev/sda1
cannot open /dev/hda
cannot open /dev/hdb

sda1 is the only mounted one not that it should matter for this.
Why is this and how do I change it please ?

Posted by roberts on Dec. 27 2006,23:11
You have posted in the embedded Qemu area in which case you don't have access to physical drives unless you setup addition Qemu specific parameters in the batch file.

For natively booted DSL, you need root access. Use:

sudo fdisk -l

Posted by Thelvyn on Dec. 28 2006,00:02
Your suggestion works thank you.
I am not running it under windows, I booted from my flash drive directly.
I was under the impression that I was logged on as root, I was wrong apparently.
Kinda silly of me actually.
Was this the wrong place to ask this question ?
I was told to download the embedded version to put it on a usb stick so that is what I have.

Posted by ^thehatsrule^ on Dec. 31 2006,18:06
You are logged into the user 'dsl' by default boot, but it's given 'sudo' access for super-user privileges.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.