longgone Posted August 15, 2007 Share Posted August 15, 2007 Here is the story ... this is on my second machine .... I decided to make the partitions larger just in case I needed extra room ...... wiped the entire Disk clean ... loaded in XP as HDA1, loaded in MD2007.1 as HDA5, swap has HDA6 then loaded in Slackware12 as HDA3 .... the installs all went well ..... the boot mng had entries for both XP and MD2007.1 ... installed Slackware12 and unthinkingly (normal) wrote the boot mngr to the mbr ... so now I am ussing Slackware12 LILO as the boot mngr .. it has XP and Slackware listed but no MD2007.1 ... tried to add MD2007.1 /etc/lilo.conf but when I did /sbin/lilo it told me fatal error that HDA5 has no boot mngr ... so what is the correct way to add MD2007.1 on HDA5 to Slackwares LILO boot mnger .... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 15, 2007 Share Posted August 15, 2007 Okay Dale . . . here is what you do in Slackware: # mkdir /mnt/mdv# mount /dev/hda5 /mnt/mdv# cp -r /mnt/mdv/boot /boot/drake# umount /mnt/mdv Next you open the /etc/lilo.conf and you add these lines: image=/boot/drake/vmlinuz label="MDV-2007-Spring" root=/dev/hda5 initrd=/boot/drake/initrd.img append="resume=/dev/hda6 splash=silent" vga=788 read-onlyNext you save the file and run: # /sbin/lilo and if it reports no errors you should be able to boot "MDV-2007-Spring" from the Slackware Lilo bootloader. Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 15, 2007 Author Share Posted August 15, 2007 ..... if only a dream ....root@darkstar:/home/dale# mkdir /mnt/mdvroot@darkstar:/home/dale# mount /dev/hda5 /mnt/mdvroot@darkstar:/home/dale# cp -r /mnt/mdv/boot /boot/drakecp: cannot stat `/mnt/mdv/boot': No such file or directory Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 15, 2007 Share Posted August 15, 2007 Hi DaleAre you 100% sure Mandriva is on hda5 ??Can you show # mount /dev/hda5 /mnt/mdv# ls /mnt/mdv/boot Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 15, 2007 Author Share Posted August 15, 2007 Well ... I thought it was on HDA5 but this sort of makes me wonder where it is at ... or if it is at all .... root@darkstar:/home/dale# mount /dev/hda5 /mnt/mdvroot@darkstar:/home/dale# ls /mnt/mdv/bootls: cannot access /mnt/mdv/boot: No such file or directoryr Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 16, 2007 Share Posted August 16, 2007 Looks like there is nothing at all on hda5 . . . . maybe we should check other partitions . . . Please show us # fdisk -l# df -h Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 16, 2007 Author Share Posted August 16, 2007 root@darkstar:/home/dale# fdisk -lDisk /dev/hda: 80.0 GB, 80026361856 bytes255 heads, 63 sectors/track, 9729 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System/dev/hda1 * 1 2089 16779861 7 HPFS/NTFS/dev/hda2 2090 4504 19398487+ 5 Extended/dev/hda3 4505 6808 18506880 83 Linux/dev/hda5 2090 4383 18426523+ 83 Linux/dev/hda6 4384 4504 971901 82 Linux swaproot@darkstar:/home/dale# df -hFilesystem Size Used Avail Use% Mounted on/dev/hda3 18G 3.9G 13G 24% //dev/hda1 17G 5.3G 11G 33% /ntfsroot@darkstar:/home/dale# ... It appears to be there, but then, on the other hand it appears to not be accessable either .... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 16, 2007 Share Posted August 16, 2007 /dev/hda3 4505 6808 18506880 83 Linux/dev/hda5 2090 4383 18426523+ 83 Linux/dev/hda6 4384 4504 971901 82 Linux swap Yep indeed it is there . . . but you did something funny . . . look at the blocks: see you first made 2090 to 4383 ( hda5 ) and 4384 to 4504 ( hda6 ) . . . in what most likely was hda4 . . . And next you made 4505 to 6808 and did not make it hda7 . . . but hda3 . . . and that is why the extended that was hda4 had to move to hda2. . . . Looks like data was lost that way because from what I see hda5 is completely empty :) Bruno Quote Link to comment Share on other sites More sharing options...
longgone Posted August 16, 2007 Author Share Posted August 16, 2007 ...............Bruno .......... you know I think I will just start all over on this machine ... might be best thing to do .... since the XP partition is also suffering ... it likes to freeze the screen ... for no apparent good reason .... I think a fresh start with the ultimate boot cd wiping it clean will be best ... Quote Link to comment Share on other sites More sharing options...
Bruno Posted August 16, 2007 Share Posted August 16, 2007 Yep in that case you could be right . . . . . and this time make the partitions "in disk order" Bruno Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.