Messages - wolf.b [ switch to compact view ]

Pages: prev1 ... 3 4 5 6 7 [8] 9 10 11 12 13next
36
Living Room / Re: Multibooting and Partitioning Experiments
« on: October 28, 2007, 03:49 PM »
Another one for the record:

I was able to start my new Ubuntu 7.10 using GRUB4DOS. That code from post #30 did the trick on my first attempt. I guess that makes me now a Linux user. What is the quickest way to mess it all up?

37
Thank you for posting the screen shot. It looks very nice. Keep up the good work! :Thmbsup:

38
Living Room / Re: Multibooting and Partitioning Experiments
« on: October 28, 2007, 03:19 PM »
Just for the record:This page How To Multi-Boot Operating Systems is full of useful infos and illustrating pictures.

39
Living Room / Re: Multibooting and Partitioning Experiments
« on: October 28, 2007, 03:01 PM »
Hello Armando,

Yes, if believe that if your hard drive is sata or scsi, then it will be identified as "sda" ...
-Armando

Yes, I have S-ATA drive.

Where do you think can I get the boot sector of that partition.
-wolf.b
What do you mean ? You want to be able to read it? or change where GRUB resides...?
-Armando

Yes, I would like to read the boot sector of my Ubuntu partition, I don't want to change GRUB's location. I believe GRUB is installed in the boot sector of the ext3 partition. I can see a folder hda6/boot/grub and inside is a file menu.lst.

My understanding of the boot sequence is this (and might be wrong):
BIOS checks which medium (floppy, HDD, CDROM, USB, network) is set up to be primary boot device. In case of HDD, it loads the first sector (MBR = IPL + 4x16 bytes partition table + 2 bytes signature) of the first HDD into RAM at location 0000:7C00h. It then passes control to IPL.

IPL (initial program loader = first 446 bytes of MBR) checks for errors, relocates itself, loads one sector from disk (boot sector of active primary partition) into RAM at location 0000:7C00h and passes control to it.

Boot sector (or boot record) checks for errors, loads kernel file (IO.SYS for DOS, NTLDR for XP, ...) and passes control to it.

Now this the point where I think that different OS implement different strategies to continue. But I think that NTLDR might be able to boot Ubuntu, If I only manage to save the boot record of the EXT3 partition to a file on C: (eg C:\SECTOR\ubuntu.bin) and add a line to boot.ini saying "C:\SECTOR\ubuntu.bin = "Ubuntu 7.10"

PTedit.png


I have just remembered that a disk editor is the tool to do that (cylinder 521, head 1, sector 1 in my case, screenshot inside spoiler). More by chance than design that sector is accessible by old DOS tools who can only read the first 1024 cylinders. But I am not sure weather that will be the best/correct way to go.

Reading this makes me think to give up for now on NTLDR, but insert an entry in C:\BOOT\GRUB\menu.lst which is used by GRUB4DOS. GRUB4DOS shows a menu initially and offers editing and a command line. The entry which I have added goes like this (copied from mounted ext3 disk, /boot/grub/menu.list):

title Ubuntu 7.10
root (hd0,5)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=06031e16-7deb-44ad-b2b1-74736c0c3e5f ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet

I cannot thank you enough for your replies to my posts, as they are always giving me directions. My biggest problem at the moment is that I can't even ask questions, because I don't know what to ask. Especially when answering "what do you mean?" I realize how profund my ignorance is on Linux related topics. Your questions keep directing my lines of thought and when I finally send my next post (I often need more than an hour just to write a post), I feel as if I have taken the next step on my journey to Linux. :)

Armando for president!


Greetings
Wolf

40
Living Room / Re: Multibooting and Partitioning Experiments
« on: October 27, 2007, 09:10 PM »
Hi Armando, :)

I'm back in WinXP now. I have mounted my new Ubuntu and can read the filesystem. It is mounted as hda6, but I'm sure there was something with sdxxx to be seen inside Ubuntu, I will post exact info, as soon as I can.

Clipboard06.png

Where do you think can I get the boot sector of that partition. The first 512 byte of the file vmlinuz look OK to me. I just put it in my boot.ini and test it. See you later, I hope ...

Wolf

Pages: prev1 ... 3 4 5 6 7 [8] 9 10 11 12 13next
Go to full version