LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   btrfs and lilo wont install on the root partition (https://www.linuxquestions.org/questions/slackware-installation-40/btrfs-and-lilo-wont-install-on-the-root-partition-901048/)

charlie_lab 09-04-2011 11:03 AM

btrfs and lilo wont install on the root partition
 
Hello,

I have made 2 partitions 1 of 2 G as swap and 1 of 48 G as root.
Because I want to chainload lilo with easybcd I want to install lilo on the root partition.

But if I say this on the installer it complains that the lilo install don't succeed.

Anyone know how to make this work ?

Roelof

andrewthomas 09-04-2011 11:53 AM

I believe that lilo has problems with btrfs.

Try using Grub2 and to the install to the partition boot record like you tried to do with lilo.

It should work.

charlie_lab 09-04-2011 12:15 PM

Hello,

Thanks,
But how can I choose Grub2 from installation ?

Roelof

andrewthomas 09-04-2011 01:01 PM

You can't. You will have to build grub2 and its dependencies from the slackbuilds at slackbuilds.org.

As an alternative, you could make a small ext2/3 /boot partition that will work with lilo and keep your / btrfs

charlie_lab 09-06-2011 12:50 PM

Hello,

I did a re-install and make my root partition now jfs.
Still installing Lilo on the root partition.

But now when I want to boot Slackware the machine boots again and I see the boot menu again.
Does Slackware uses gpt partitions or is there another reason ?

Roelof

andrewthomas 09-06-2011 06:47 PM

After BIOS, you should see your easybcd menu.

Then you choose to chainload Slackware.

You will then see the slackware LILO menu to choose which kernel you want to boot.

Is this not the sequence of events that occurs on your machine?

ReaperX7 09-06-2011 08:36 PM

LILO is only confirmed to work with EXT2/3/4, JFS, and ReiserFS (as far as Slackware goes). It will not work with XFS and BTRFS if they are the boot partition and LILO is installed to either the MBR or the Linux partition.

I think EXT4 is still the recommended and default partitioning method for Slackware.

charlie_lab 09-07-2011 06:33 AM

Andrew :

That's not the sequence.
The mine is :

1) I boot and see the easyvcd menu.
2) I choose Slackware.
3) Screen goes black and the computer is at point 1.

Reaper :

Wierd, Then Slackware must be run on my machine but it don't.

Roelof

andrewthomas 09-07-2011 06:54 PM

To see what you have going on, go to

http://bootinfoscript.sourceforge.net/

follow the instructions and post the RESULTS.txt within code
(select text and then hit the # above) tags in your reply.

charlie_lab 09-08-2011 02:17 AM

Hello,

Here the result.txt

Code:

                  Boot Info Script 0.60    from 17 May 2011


============================= Boot Info Summary: ===============================

 => No known boot loader is installed in the MBR of /dev/sda.
 => Grub Legacy (v0.97) is installed in the MBR of /dev/sdb and looks on the
    same drive in partition #2 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: __________________________________________________________________________

    File system:      ext2
    Boot sector type:  -
    Boot sector info: 
    Operating System: 
    Boot files:       

sda2: __________________________________________________________________________

    File system:      ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /Boot/BCD /Windows/System32/winload.exe

sdb1: __________________________________________________________________________

    File system:      swap
    Boot sector type:  LILO
    Boot sector info:  LILO is installed in boot sector of /dev/sdb1 and
                      looks at sector 7193 of /dev/sdb for the "map" file,
                      but the "map" file was not found at this location.

sdb2: __________________________________________________________________________

    File system:      jfs
    Boot sector type:  LILO
    Boot sector info:  LILO is installed in boot sector of /dev/sdb2 and
                      looks at sector 81093664 of /dev/sdb for the "map"
                      file, but the "map" file was not found at this
                      location.
    Mounting failed:  mount: /dev/sdb2 already mounted or sdb2 busy

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1              2,048      206,847      204,800  83 Linux
/dev/sda2    *        206,848  160,833,535  160,626,688  7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 61.5 GB, 61492838400 bytes
255 heads, 63 sectors/track, 7476 cylinders, total 120103200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1              2,048    4,196,351    4,194,304  82 Linux swap / Solaris
/dev/sdb2          4,196,352  120,103,199  115,906,848  83 Linux


"blkid" output: ________________________________________________________________

Device          UUID                                  TYPE      LABEL

/dev/sda1        422feecb-f03f-41aa-b3bd-4d602f82f93a  ext2     
/dev/sda2        38082BE7082BA33C                      ntfs     
/dev/sdb1        6cb34fe4-7ea8-40f3-bcc3-384caaf44f3b  swap     
/dev/sdb2        618608f4-8488-4fac-89bf-bd280318ed15  jfs       

================================ Mount points: =================================

Device          Mount_Point              Type      Options

/dev/root        /                        jfs        (rw,relatime)
/dev/sda1        /test                    ext2      (rw)
/dev/sda2        /windows                fuseblk    (rw,allow_other,blksize=4096,default_permissions)


======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown MBR on /dev/sda

00000000  e8 12 01 b9 f0 01 be 10  7c bf 10 06 57 f3 a4 c3  |è..¹ð.¾.|¿..Wó¤Ã|
00000010  8b 4e 14 83 f9 0e 75 08  8d 5e 07 43 02 07 e2 fb  |.N..ù.u..^.C..âû|
00000020  8c 56 0c 8c 56 0e 75 69  8a 56 10 84 d2 79 62 e8  |.V..V.ui.V..Òybè|
00000030  f6 00 bb aa 55 cd 13 72  6f 3b 5e 5c 75 6a d1 e9  |ö.»ªUÍ.ro;^\ujÑé|
00000040  73 66 b4 42 c6 46 02 01  eb 66 89 b6 f6 fe 8a 44  |sf´BÆF..ëf.¶öþ.D|
00000050  04 84 c0 74 0f 3c 05 74  0b 3c 0f 74 07 8a 14 80  |..Àt.<.t.<.t....|
00000060  e2 80 75 cb 83 c6 10 06  c4 5c 08 89 5e 08 8c 46  |â.uË.Æ..Ä\..^..F|
00000070  0a 07 fe 8e f9 fe 75 d2  b0 31 c6 46 d7 50 88 46  |..þ.ùþuÒ°1ÆF×P.F|
00000080  d4 be 6a 07 ac 84 c0 74  08 b4 0e b3 07 cd 10 eb  |Ô¾j.¬.Àt.´.³.Í.ë|
00000090  f3 e8 81 00 88 46 11 be  ae 07 3c 05 75 c6 cd 16  |óè...F.¾®.<.uÆÍ.|
000000a0  33 d2 89 56 08 89 56 0a  e8 7d 00 72 1b b8 01 02  |3Ò.V..V.è}.r.¸..|
000000b0  bf 05 00 8b dc 56 50 50  32 e4 cd 13 58 8b f5 cd  |¿...ÜVPP2äÍ.X.õÍ|
000000c0  13 58 5e 73 03 4f 75 eb  b0 32 72 b2 40 8a 66 11  |.X^s.Ouë°2r²@.f.|
000000d0  9e 7b 04 c6 47 02 0e 72  35 75 0c 88 57 40 c4 4e  |.{.ÆG..r5u..W@ÄN|
000000e0  08 89 4f 1c 8c 47 1e 79  06 8a 4e 12 88 4f 25 80  |..O..G.y..N..O%.|
000000f0  c7 02 81 7f fe 55 aa 75  85 81 7f fa cd 19 75 09  |Ç...þUªu...úÍ.u.|
00000100  c6 47 fa e9 c7 47 fb 94  88 e8 1c 00 ff e4 74 ce  |ÆGúéÇGû..è..ÿätÎ|
00000110  88 57 24 eb c9 5d 33 c0  8e d8 8e c0 8e d0 bc 00  |.W$ëÉ]3À.Ø.À.м.|
00000120  7c 55 bd a2 07 fc fb c3  b4 08 52 06 cd 13 07 72  ||U½¢.üûô.R.Í..r|
00000130  33 33 db 8a de 8b 46 0a  33 d2 83 e1 3f f7 f1 91  |33Û.Þ.F.3Ò.á?÷ñ.|
00000140  97 8b 46 08 f7 f7 42 87  ca 3b da 72 17 43 f7 f3  |..F.÷÷B.Ê;Úr.C÷ó|
00000150  8a f2 86 c5 d1 e8 d1 e8  0a c8 d0 cc d0 cc 0a f4  |.ò.ÅÑèÑè.ÈÐÌÐÌ.ô|
00000160  84 e4 74 02 b4 41 5b 8a  d3 c3 0d 0a 4d 42 52 20  |.ät.´A[.ÓÃ..MBR |
00000170  45 72 72 6f 72 20 00 0d  0a 00 72 65 73 73 20 61  |Error ....ress a|
00000180  6e 79 20 6b 65 79 20 74  6f 20 62 6f 6f 74 20 66  |ny key to boot f|
00000190  72 6f 6d 20 66 6c 6f 70  70 79 2e 2e 2e 00 00 00  |rom floppy......|
000001a0  00 00 10 00 01 00 00 7c  00 00 00 00 00 00 00 00  |.......|........|
000001b0  00 00 00 00 00 f2 0e 00  fd c8 4d 98 90 90 00 20  |.....ò..ýÈM.... |
000001c0  21 00 83 df 13 0c 00 08  00 00 00 20 03 00 80 df  |!..ß....... ...ß|
000001d0  14 0c 07 fe ff ff 00 28  03 00 00 f8 92 09 00 00  |...þÿÿ.(...ø....|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............Uª|
00000200


=============================== StdErr Messages: ===============================

hexdump: stdin: Illegal seek.
hexdump: stdin: Illegal seek.
  No volume groups found
mdadm: No arrays found in config file or automatically

Roelof


All times are GMT -5. The time now is 12:09 AM.