Jump to content

boot mngr


longgone

Recommended Posts

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 ....

Link to comment
Share on other sites

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-only
Next 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.:o Bruno

Link to comment
Share on other sites

;) ..... 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
:o
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Looks like there is nothing at all on hda5 . . . . maybe we should check other partitions . . . Please show us

# fdisk -l# df -h

B) Bruno

Link to comment
Share on other sites

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#
B) :) ... It appears to be there, but then, on the other hand it appears to not be accessable either ....
Link to comment
Share on other sites

/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 :)B) Bruno
Link to comment
Share on other sites

:hmm: :hmm: :hmm: ...............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 ...
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...