User Feedback :: chmod trouble
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
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.
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?
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
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!
Next Page...
original here.