Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Mandriva LE didn't write onto hard drive?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
Andra
Guest





PostPosted: Mon Jun 13, 2005 6:26 am    Post subject: Mandriva LE didn't write onto hard drive? Reply with quote

I have an external hard drive that I put Mandriva on, I went through the whole process which took about 2 1/2 hrs, I went to reboot & it looked at the hard drive for a second and then opened Windows. I checked disk management under computer management & it showed my partitions and the size of each, but on all 3, the percentage free was 100%. The capacity and free space were the same number of MB. Why didn't it write onto my hard drive? What was it doing for 2 1/2hrs? Could the CD's have been bad?
At the very end I do remember it asking to put in CD 67a, and when I did, it looked at the cd and then asked me to put in CD 67a. I tried each CD & then tried 67a again. I said the same thing, so I pressed the previous button and it said that it was done & had an option for me to reboot.
How do I fix this problem?
Back to top
youlikeicecream
LXF regular


Joined: Fri Jun 03, 2005 12:40 pm
Posts: 721
Location: Oxford

PostPosted: Mon Jun 13, 2005 6:39 am    Post subject: RE: Mandriva LE didn Reply with quote

If it allowed you to boot to windows, without showing the Lilo or Grub bootloader then you didnt install the bootloader to the MBR (the main hard disk boot sector) and windows will be the only OS to boot (managed by windows).

Windows will not be able to understand the ext2 or ext3 filesystem so Computer management will not show the usage statistics for these drives ... partition magic will or the ext2fs filesystem reader for windows.

you will probably have to re-install, but try to upgrade instead of a clean install and just tell it to put the bootloader in the MBR of hda1, which will be the main disk in the computer with windows on it (common arrangement)

Mike Smile
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
youlikeicecream
LXF regular


Joined: Fri Jun 03, 2005 12:40 pm
Posts: 721
Location: Oxford

PostPosted: Mon Jun 13, 2005 6:42 am    Post subject: RE: Mandriva LE didn Reply with quote

The bootloader will find your other operating systems, like windows, and add them to the boot menu along with Mandriva (option "linux") and two other failsafe bootoptions.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Andra
Guest





PostPosted: Mon Jun 13, 2005 6:53 am    Post subject: Reply with quote

Thanks for the reply! I'll have to give that a try tomorrow.
I remember I had to choose were to put the bootloader. I had no idea what to do, so I asked it to put it on my external hard drive - sda. My mistake.
Back to top
youlikeicecream
LXF regular


Joined: Fri Jun 03, 2005 12:40 pm
Posts: 721
Location: Oxford

PostPosted: Mon Jun 13, 2005 7:43 am    Post subject: Reply with quote

yeah, should have put it on hda1 .. sounds scary (might loose windows) but its okay, better infact, to let a bootloader manage operating systems.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8467
Location: Warrington, UK

PostPosted: Mon Jun 13, 2005 8:52 am    Post subject: Reply with quote

As has been said, the partitions only look empty to Windows, because it doesn't understand them.

As for the thing about repeatedly asking for the first CD at the end. That happened to me on my test setup so I pressed the previous button and it rebooted perfectly. I'm sure this has nothing to do with your problem.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
palepaul5



Joined: Thu Apr 21, 2005 4:50 pm
Posts: 13
Location: Scotland

PostPosted: Mon Jun 13, 2005 2:14 pm    Post subject: Reply with quote

What you can do is boot Mandrake from your first Install Disk and use it to rescue your system, or boot from Knoppix or some other live Distro, open a shell and su:
mkdir /mnt/mdk
mount -t ext3 /dev/sda? /mnt/mdk (? replaces disk number)
chroot /mnt/mdk /bin/bash
At the prompt start grub:
>>grub
grub> root (hd?,?) (specify where your /boot partition is(will be same as install partition,unless seperate /boot created))
grub> setup (hd0) (installs Grub to your MBR)
grub> quit (quits the Grub shell)
You should now Ctrl + D to exit chrooted enviroment
umount /mnt/mdk
Ctrl + D twice to exit shell

H.T.H.
(Y) PJF (Y)
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8467
Location: Warrington, UK

PostPosted: Mon Jun 13, 2005 3:29 pm    Post subject: Reply with quote

You don't need to do all that. In fact, I'm not sure it will work as Mandriva uses LILO, not GRUB.

Boot from the CD, press F1 at the splash screen and type "rescue" at the boot prompt. This will mount your existing partitions and present you with a rescue menu, one item of which is to (re)install the bootloader.
Back to top
View user's profile Send private message
youlikeicecream
LXF regular


Joined: Fri Jun 03, 2005 12:40 pm
Posts: 721
Location: Oxford

PostPosted: Mon Jun 13, 2005 4:32 pm    Post subject: Reply with quote

Mandriva uses lilo or grub, grub is only available as a non-graphic bootloader. Just try the rescue option tho

Mike Smile
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Andra
Guest





PostPosted: Tue Jun 14, 2005 6:14 am    Post subject: Reply with quote

Mike,
THANK YOU! It worked perfectly!

However I ran into another problem.... I rebooted and a menu option came up
linux
linux-nonfb
failsafe
windows

(BTW: above the menu option it says GNU GRUB version 0.95)

Tried linux.... It went to the start screen, you know with the huge tux w/star eyes, or something like that, and it just sat there forever.
Turned off the computer & tried the linux-nonfb option
I got some weird error messages-here's the end text of it:

Mounting root filesystem with flags noatime
mount: error 6 mounting ext3 flags noatime
well, retry without the option flags
mount: error 6 mouting ext3
well, retry read-only without any flags
mount:error 6 mounting ext3
pivotroot:pivot_root (/sysroot, /sysroot/initrd) failed:2
umount /initrd/sys failed:2
umount /initrd/proc failed:2
Initrd finished
Freeing unused kernel memory: 264k freed
Kernel panic-non syncing: No init found. Try passing init=option to kernel

What do I do?
Back to top
Andra
Guest





PostPosted: Tue Jun 14, 2005 7:24 am    Post subject: Reply with quote

I have another problem. I can't start windows without my external hard drive, because if I do it says GRUB and sits there forever. I can't lug around my external hard drive wherever I go. I have to get to Windows without it. Right now I can't. Please help me fix this too.
Back to top
skecs



Joined: Fri Apr 22, 2005 10:22 am
Posts: 76
Location: Bathurst, NSW Australia

PostPosted: Tue Jun 14, 2005 9:18 am    Post subject: Reply with quote

I suggest a quick re-write of the Master Boot Record as I posted elsewhere on this forum.

Basically boot from a Windows floppy and A:\>fdisk /mbr

This will replace the Linux Master Boot Record with Windows. You'll have to re-install/repair the MBR from your distro boot CD/DVD and this time choose to put GRUB on the master boot record as per nelz's instructions above.
_________________
Regards from
Downunder!
.... _
... (0)>
... / /\
.. / / .)
.. V_/_
Linux Powered!
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8467
Location: Warrington, UK

PostPosted: Tue Jun 14, 2005 10:43 am    Post subject: Reply with quote

I wouldn't put GRUB on the MBR of the fixed disc, this is probably what is causing the problem. Leave the windows bootloader there, put GRUB on the MBR of the removable drive and add an entry to the Windows bootloader menu to call it. That way, you'll only try to access the removable drive when you want to.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
skecs



Joined: Fri Apr 22, 2005 10:22 am
Posts: 76
Location: Bathurst, NSW Australia

PostPosted: Tue Jun 14, 2005 11:14 am    Post subject: Reply with quote

Thanks nelz - I meant MBR of the external HDD. Embarassed
_________________
Regards from
Downunder!
.... _
... (0)>
... / /\
.. / / .)
.. V_/_
Linux Powered!
Back to top
View user's profile Send private message
Andra
Guest





PostPosted: Wed Jun 15, 2005 1:54 pm    Post subject: Reply with quote

I don't have a windows CD, it never came with my computer, but I did find Windows XP Home Edition with Service Pack 1 Utility: Setup Disks for Floppy Boot Install online. It looks like that will be the same thing, but I'm not positive. It's about 4.3MB.

I understand that I have to put the bootloader on my external harddrive, but should I put it under /dev/sda or dev/sda1 (which is my first partion-the root directory)? I put it under sda1 the first time, before I changed it to hda. What entry do I add to Windows bootloader (that's the boot.ini file right?). I looked at the file & couldn't figure out what to add. I checked online briefly, but didn't find anything.

Will all of this fix the Kernel panic thing?
Back to top
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast