RE: write permissions for /dev/hda1 /mnt/gentoo/ boot
"Fleming,Darrell" <[email protected]> Wed, 16 Oct 2002 17:25:57 -0400
| Newsgroups | gmane.linux.gentoo.newbies |
|---|---|
| Message-ID | <[email protected]> |
Hi I have a similar problem, discovered late last night when trying to install 1.4rc1 on an old windows PII system. Boot CD, fdisk the hda1 (boot) hda2 (swap) and hda3 (/), also hdb1 (usr), then mke2fs -j on all but swap. Makes with out errors. Mount as per directions, download stage1 tar ball to /mnt/gentoo and untar. Same errors at /boot/boot symlink. I looked at the /boot partition with df and found it full !! cd to it and ls, it was full of windows files !!. Started again, unmount /boot and mke2fs -j, mount it and windows files still there. I then repartitioned the whole hda drive to one partition and shutdown and rebooted and started again, end result, the windows files are still there in /boot and the partition is tagged read-only and I can't manually delete them. Odd thing is that the old files all were removed correctly on the other partitions and drives. The only odd thing about this hd is that it was originally partitioned with partition magic and this area of the drive was hidden. I'll be trying again late tonight. I've successfully installed Gentoo on other systems, all v1.2 Darrell > -----Original Message----- > From: Michael S. Sprague [SMTP:[email protected]] > Sent: October 16, 2002 2:01 PM > To: [email protected] > Subject: [gentoo-newbies] write permissions for /dev/hda1 > /mnt/gentoo/boot > > Well Maynard, first I would like to thank everyone for the help they > have > given me or any interest they have shown. > > In fact, untarring to /dev/hda3 /mnt/gentoo is exactly what I was > doing. I > partitioned the drives using cfdisk and then initialized them as follows: > > /dev/hda1 (ext/3 using "mke2fs -j /dev/hda1"), 126 MB Type 82 Linux > /dev/hda2 (swap using "mkswap /dev/hda2"), 260 MB Type 83 Swap > /dev/hda3 (reiserfs using "mkreiserfs /dev/hda3"), 3883 MB Type 82 Linux > > /dev/hdb1 (reiserfs using "mkreiserfs /dev/hdb1"), 8337 MB Type 82 Linux > > I did the "pci-setup" ran fine. > I did the "net-setup eth0" that ran perfectly, instantly on the net. > Detected my Linksys router and put the name > servers and > domain name in "/etc/resolv.conf" automatically. I never had to > touch it. > This was from the LiveBasic CD. When using the LiveUT CD I have to > configure dhcp manually. Go figure. (using 3Com 3C509B-TX XL pci) > > Next thing was to mount the partitions: > > #swapon /dev/hda2 ;seemed to be fine, I checked with swapon -s > > #mkdir /mnt/gentoo ;this is where I will cd to later to download the > /chroot/nocompress/stage1.tar file., just like the > directions say to > do. > > #mount /dev/hda3 /mnt/gentoo ;ok, this tells me it is mounted on the > /dev/hda3 partition. > > #mkdir /mnt/gentoo/boot ;this will be a problem later, as > you will see > > #mount /dev/hda1/ /mnt/gentoo/boot ;this is where the trouble begins > > /dev/hda1 /mnt/gentoo/boot shows up in "dmesg" as a read only file > partition > with 0% space available. Oh boy, what to do? Well I tried to untar anyway, > (I have been through this process many times). I can practically write the > install instructions verbatim by now without even glancing at them, and I > mean the whole page. So,... > > cd /mnt/gentoo ;ok this is where I untar to, I am not > untarring to the > ;root directory, a symlink will be attempted > by tar > ;which wants to link to ./boot/boot.(read > only see ;above) and will > generate an exit error. > > tar -xvjpf /cdroot/nocompress/stage1-x86-1.4_rc1-20020908-1208.tar.bz2 > > ;please notice that I untar to /dev/hda3 > /mnt/gentoo > ;and not into the /dev/hda1 /mnt/gentoo/boot > directory > > At this point several hundred files are extracted to the hard drive. > Everything looks great until (add the Jaws shark music here) the same > error > occurs every time. Which is: tar: ./boot/boot: Cannot create symlink > to'.': > Read-only filesystem. Which I believe is in /dev/hda1 /mnt/gentoo/boot > directory since it is the only one returned from "dmesg" as read only > besides the /dev/cdroms/cdrom0 which is running the image cd. > > Does this mean that I should have mounted the /dev/hda1 /mnt/gentoo/boot > with special flags to allow it to be writeable? If so, I would think > something like that would be in the install instructions. > > ok, so what could be causing it? Why is /dev/hda1 read only? Perhaps it is > read only because there is something wrong with the drive? Well, why not > just change them around. So I did. And that is another story. > > Michael S. Sprague > [email protected] > Registered Linux User: 290220 > > "The definition of insanity is > repeating the same act over and > over again and expecting > different results. > > > > > > > > -----Original Message----- > From: Maynard [mailto:[email protected]] > Sent: Tuesday, October 15, 2002 7:34 PM > To: Michael S. Sprague > Subject: Re: [gentoo-newbies] write permissions for /dev/hda1 > /mnt/gentoo/boot > > > You should have a minimum of 3 partitions, /boot /root /swap; and you > install the tarball into /root - not boot. > ----- Original Message ----- > From: "Michael S. Sprague" <[email protected]> > To: <[email protected]> > Sent: Tuesday, October 15, 2002 3:46 PM > Subject: [gentoo-newbies] write permissions for /dev/hda1 /mnt/gentoo/boot > > > > Still having problems untarring the entire stage1 tarball. I can see it > > untarring what seems to be several hundred files perhaps. I always get > the > > same exit error at the same place. I believe it may be due to the fact > that > > /dev/hda1 being the root partition being a read only file system. I say > this > > because /dev/hda1 /mnt/gentoo/boot is listed from the "df" command as > > FILESYSTEM /dev/hda1 1K-blocks 2084324 USED 208324 AVAILABLE 0 USE% 100% > > /mnt/gentoo/boot. I have tried using chmod to change the permissions on > this > > directory to no avail. I am only told that it is changing the > permissions > > and then receive the statement that it is a read only filesystem. If > this > is > > so, how am I ever going to write anything into the boot partition? > > > > Michael S. Sprague > > [email protected] > > Registered Linux User: 290220 > > > > _______________________________________________ > > gentoo-newbies mailing list > > [email protected] > > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies > > _______________________________________________ > gentoo-newbies mailing list > [email protected] > http://lists.gentoo.org/mailman/listinfo/gentoo-newbies