Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: fdisk -l not working for any drives, sda1 only mounted disk yet fails< Next Oldest | Next Newest >
Thelvyn Offline





Group: Members
Posts: 3
Joined: Dec. 2006
Posted: Dec. 27 2006,20:12 QUOTE

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 ?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 27 2006,23:11 QUOTE

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
Back to top
Profile PM WEB 
Thelvyn Offline





Group: Members
Posts: 3
Joined: Dec. 2006
Posted: Dec. 28 2006,00:02 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 31 2006,18:06 QUOTE

You are logged into the user 'dsl' by default boot, but it's given 'sudo' access for super-user privileges.
Back to top
Profile PM 
3 replies since Dec. 27 2006,20:12 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: fdisk -l not working for any drives

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code