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
Pages: (2) </ [1] 2 >/

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

reply to topic new topic new poll
Topic: chmod trouble< Next Oldest | Next Newest >
underdog5004 Offline





Group: Members
Posts: 45
Joined: Mar. 2006
Posted: April 06 2006,20:22 QUOTE

Ok. So, I'm dual booting XP and SuSE on /hda but I want to install dsl (frugal, of course) onto /hdb1. I've already made the partitions in SuSE, but when I cfdisk hdb1 from dsl, I get the message that hdb1 is read only...can't start...etc.

So I go online, try to figure it out, seems I need to use a command (chmod) to change the read-write permissions on hdb. only now, I can't figure out what to do...I've tried pretty much every combo I can think of. I just want to read/write on /hdb*...

the command that I think I need to use is:
Code Sample
chmod u rw--- /mnt/hdb1


but that doesn't seem to work. Anyways, if there are any linux gurus, or people smarter than me (98% of the population) out there, then feel free show me how to do this...thanks
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 06 2006,21:10 QUOTE

chmod on a mountpoint will chmod only the mountpoint, unless you chmod recursively after a filesystem has been mounted.  You can't chmod a partition anyway, so my guess is that this is not a file permissions issue.

cfdisk is not run on a partition (hdb1), but instead on a whole drive (hdb).  Since you already set up your partitions, there is no need to run cfdisk on it again.  At most, you'd use mke2fs to format hdb1.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
underdog5004 Offline





Group: Members
Posts: 45
Joined: Mar. 2006
Posted: April 07 2006,00:29 QUOTE

hmm...I feel like an idiot. Thanks for the quick response...I'll try it and see if it works. If not, I know where to go.

EDIT: I used
Code Sample
mke2fs /mnt/hdb1
and it came back with a message saying that the partition size was 0, and that that could be from not restarting before use of partition. So I restarted. It said the same thing. I don't want to whine, but now what do I do?
Back to top
Profile PM 
sheldonisaac Offline





Group: Members
Posts: 53
Joined: Dec. 2004
Posted: April 07 2006,13:56 QUOTE

underdog5004, it is possible that the /dev/hdb1 partition you created under SUSE is somehow not being correctly seen under DSL.

Might you try this?

Boot from the DSL CD-ROM, press F2 when the penguin appears?
(not sure about this, it's been a while)

and say

dsl 2 (and whatever other cheatcodes may be needed?)

I guess that gets you to a commandline as root?

Say

cfdisk /dev/hdb

cfdisk has several commands:
p  will show you the partitions on /dev/hdb

If you see partition 1, delete it:

d

cfdisk will ask you which partition, so tell it  1

Then do  

p

again, to see whether partition 1 is gone

If so, say

n

to make a new partition
follow the prompts, create partition 1 of the size you want, then

w

to write the changes into the partition table(?)

And reboot.

This time you should be able to use the menus on the GUI to do a frugal GRUB install to /dev/hdb1
Back to top
Profile PM 
underdog5004 Offline





Group: Members
Posts: 45
Joined: Mar. 2006
Posted: April 07 2006,15:28 QUOTE

Ok, I've tried installing DSL (frugal) to hdb1...but the installer script said that it only works reliably on hda...so I shut down, and made hdb into hda. I cfdisk'ed and installed with a gig swap and ~16G hda3...I just don't know what file to point GrUB to. I can easily edit GrUB through suse, but I've no idea which file to point it to. I've tried a lot of different files, but none seem to work...aaaaargh!
Back to top
Profile PM 
7 replies since April 06 2006,20:22 < Next Oldest | Next Newest >

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

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: chmod trouble

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