• Notice regarding image hosts and attachments. See here.

Gentoo!

It only gets as far as I've shown above, thats not including all the BIOS checks before the DMI pool data bit of course.
 
In /boot/grub/ there are some files called e2fs_stage1_5, fat_stage1_5, reiserfs_stage1_5 etc, but not one called e3fs_stage1_5. GRUB does support ext3 doesn't it?

Think it's time for dinner now, back later.
 
Originally posted by burns
In /boot/grub/ there are some files called e2fs_stage1_5, fat_stage1_5, reiserfs_stage1_5 etc, but not one called e3fs_stage1_5. GRUB does support ext3 doesn't it?

Think it's time for dinner now, back later.
I don't think there should be a e3fs_stage1_5. ext3 is just ext2 with journaling.
 
Originally posted by Mpemba Effect
Worth a try I guess. Mail me the details
Just remembered the gateway doesn't have a monitor at the moment so when the firewall complians about an SSH connection I won't be able to let it through. What details do you need if I do get it working?
 
I'll need

a) your IP
b) root password (so boot off the livecd and type 'passwd' assign one and give me that)
c) launch sshd (/etc/init.d/sshd start)
d) make sure the port is forwarded to your machine at the router
 
Note: Journaled filesystems require extra space for their journal. Default settings require about 33 Megabytes of space. Therefore, if you are using a journaled filesystem for /boot, you should type +64M when prompted for the last cylinder.

thats from the gentoo docs. I knew there was a reason that i always used ext2 for /boot. looks like you'll need to reformat boot to ext2 and put all the stuff onto it again.
 
Originally posted by riven
thats from the gentoo docs. I knew there was a reason that i always used ext2 for /boot. looks like you'll need to reformat boot to ext2 and put all the stuff onto it again.
Well done riven! That could be the problem. I've always used ext2, I don't see any reason to use a journaling filesystem on the boot partition.
 
Can I just mount hda1 to boot, copy everything from boot to another folder(not in boot) then format boot to ext2 then copy everything back then? Obviously I need to update fstab.
 
Originally posted by burns
Can I just mount hda1 to boot, copy everything from boot to another folder(not in boot) then format boot to ext2 then copy everything back then? Obviously I need to update fstab.
No you can't do this
Code:
mount /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot
cp /mnt/gentoo/boot/grub/grub.conf /mnt/gentoo/tmp
umount /mnt/gentoo/boot
mke2fs /dev/hda1
mount /dev/hda1 /mnt/gentoo/boot
swapon /dev/hda2
mount -t proc proc /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
emerge grub
cp /tmp/grub.conf /boot/grub
cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-2.6.7-gentoo-r11
nano -w /etc/fstab [color=deeppink]#make your changes[/color]
exit
umount /mnt/gentoo/boot
umount /mnt/gentoo/proc
umount /mnt/gentoo/
reboot
However there is an easier way where you just convert ext3 to ext2
 
Hurrah
Code:
umount /dev/hda1
tune2fs -O ^has_journal /dev/hda1
e2fsck /dev/hda1
# Edit /etc/fstab to change /dev/hda1 to mount type ext2
mount /dev/hda1
Remove the .journal file afterwards.
 
Originally posted by Mpemba Effect
Hurrah
Code:
umount /dev/hda1
tune2fs -O ^has_journal /dev/hda1
e2fsck /dev/hda1
# Edit /etc/fstab to change /dev/hda1 to mount type ext2
mount /dev/hda1
Remove the .journal file afterwards.
OK, got as far as e2fsck /dev/hda1, but I can't get to my fstab, when I open /etc/fstab, it's the one on the CD. I tried mounting hda3 to /, but it didn't work and now I can't umount it...

Also, whats the .journal file? Thanks for your help guys:D.
 
Originally posted by burns
OK, got as far as e2fsck /dev/hda1, but I can't get to my fstab, when I open /etc/fstab, it's the one on the CD. I tried mounting hda3 to /, but it didn't work and now I can't umount it...

Also, whats the .journal file? Thanks for your help guys:D.
Erh yeah, the fstab you want to edit is in /mnt/gentoo/etc

The .journal file I can only assume is a file used for journaling and proberbly found in /boot. It's hidden so a "ls -A" will reveal it. You won't be needing it since journaling is not on is ext2.
 
Last edited:
How can I unmount hda3? It's saying it's in use at the moment, I'm guessing restarting half way through this would be a bad idea.
 
Code:
tmpfs         127656     2908     124748   3%   /
/newroot/dev/cdroms/cdrom0
             80350     80350       0 100%   /mnt/cdrom
/dev/loop/0    71104   711404          0  100%  /mnt/livecd
/dev/hda3      127656  2908       124748  3%   /
 
Last edited:
Originally posted by burns
tmpfs 127656 2908 124748 3% /
/newroot/dev/cdroms/cdrom0
80350 80350 0 100% /mnt/cdrom
/dev/loop/0 71104 711404 0 100% /mnt/livecd
/dev/hda3 127656 2908 124748 3% /
Try
Code:
umount -f /dev/hda3
If that works mount it into /mnt/gentoo.
 
Originally posted by Mpemba Effect
Code:
umount -f /dev/hda3
umount2:Device or resource busy
umount:/dev/hda3 not mounted
umount: /: Illegal seek
umount2: device or resource busy
umount: /: device is busy
 
Back
Top Bottom