Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
if i fdisk -l , i get something along the lines of:
Device Boot Type
/dev/hda1 * HPFS/NTFS
/dev/hda2 W95 Ext'd (LBA)
/dev/hda5 Linux
/dev/hda6 Linux
/dev/hda7 Linux Swap
you'll forgive me if i haven't put every single detail listed in these files, but I'm having to transcribe these onto another computer. I think I've given you all the right info (I hope)
Out of curiosity, do you know what Error 17 actually is?
ohh there was one other thing i forgot to mention.
I have an empty space on my hard drive (from a fat32 partition that i deleted) just before the boot partition. Don't know if that makes any difference, but i thought it best to give you as many details as possible.
When I fdisk -l , it refers to it by saying "ommitting empty partition (5)"
My full fdisk -l reads:
ommitting empty partition (5)
Disk: /dev/hda: 20GB, 20003880960
255 heads, 63 sectors/track, 2432 cylinders
Units = cylinders of 16065 * 512 = 8225280
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1147 9213246 7 HPFS/NTFS
/dev/hda2 1148 2432 10321762+ f W95 Ext'd (LBA)
/dev/hda5 1305 1317 104391 83 Linux
/dev/hda6 1318 2367 8434093 83 Linux
/dev/hda7 2368 2432 522081 82 Linux swap
Basically what I've done as far as "moving" my partitions is I increased the size of my extended partition and then moved my boot partition from the head of the extended partition up to the head of the Linux ext3 partition.
So now the "empty" partition is between the start of the extended partition and the start of the boot partition.
Does that all make sense?
When I originally moved the partition, the partition program I was using (Paragon) gave it a new hda number which I couldn't update with grub for some reason.
Hi everybody,
I post my problem here since I think it is somehow a related problem.
I have a partitioned laptop with WindowsXP and SuSE 8.2 Everything
was working till I reinstalled WindowsXP again. After Installation Windows started to boot automatically
without loading GRUB. Then using my SuSE CD I booted SuSE and there I tried to install
grub. First I tried
grub-install /dev/hda
and I got the message:
The file /boot/grub/stage1 not read correctly
Next I tried in grub shell by doing
grub
grub>root (hd0,0)
which gives:
Filesystem type unknown, partition type 0x82
To find out where my Grub files reside I typed
grub> find /boot/grub/stage1
and I got
(hd0,1)
then I typed the following
grub>root (hd0,1)
Filesystem type is reiserfs, partition type 0x83
grub>kernel /boot/vmlinuz
[Linux-bzImage, setup=0x1400, size=0x1078c4]
grub>setup(hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/reiserfs_stage1_5" exists... yes
Running "embed /boot/grub/reiserfs_stage1_5 (hd0)"... 21 sectors are embedded.
succeeded
Running "install /boot/grub/stage1/ (hd0) (hd0)1+21 p (hd0,1)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
Then I rebooted. This time grubloader worked. I got the following massages,
Grub Loading stage1.5.
Grub Loading please wait
graphics file "(hd0,0)/boot/message/" missing, press a key to continue...
I pressed a key and I got the options in my menu.lst correctly
but not in the standard SuSE window (I guess due to previous error about missing massage)
Finally one last point which I feel also somehow important.
When I boot from CD during booting I get some errors,
Activating swap-devices in /etc/fstab... failed
Checking file systems...
fsck 1.28 (31-Aug-2002)
reiserfs_open: neither new or old reiserfs format found on /dev/hda1
reiserfsck : could not open filesystem on "/dev/hda1"
Warning... fsck.reiserfs for device /dev/hda1/ exited with signal 6.
fsck.reiserfs /dev/hda1 failed (status 0x8). Run manually!
fsck failed. Please repair manually and reboot. The root filesystem is currently mounted read-only.
To remount it read-write do:
bash# mount -n -o remount,rw /
I did of course this remounting before I tried grub-install and all other stuff.
I hope I did not give to much unnecessary information.
I don't know if I'm in the best position to solve all your problems, but 2 requests/questions:
*Did you change/resize any of your partitions when you reinstalled XP. (If so, what program did you use?)
*Can you give us the full output of fdisk -l please?
I did not change or resize any of my partitions during windows installation. Here I attach the fdisk -l result:
Disk /dev/hda: 255 heads, 63 sectors, 3648 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 3 94 738990 82 Linux Swap
/dev/hda2 95 2352 18137385 83 Linux
/dev/hda3 * 2353 3647 10402087+ c Win95 FAT32 (LBA)
I tried what you said. Then it started to boot
but I got this massage then
reiserfsck : could not open filesystem on "/dev/hda1"
Warning... fsck.reiserfs for device /dev/hda1/ exited with signal 6.
fsck.reiserfs /dev/hda1 failed (status 0x8). Run manually!
fsck failed. Please repair manually and reboot. The root filesystem is currently mounted read-only.
To remount it read-write do:
bash# mount -n -o remount,rw /
I am confused with my partitions. If I do not a mistake in my
fstab file hda1 seems to be the root partition but if I write fdisk -l
it seems hda2 to b the root partition. Should I also edit my fstab file as well ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.