In pratica ho installato Gentoo su sda7, non ho creato alcuna altra partizione (ne home ne swap).
Questo il mio lilo.conf di slackware: (che ho opportunamento modificato io per inserire Gentoo, non so se ho scritto correttamente quella parte)
Codice: Seleziona tutto
bash-4.2# nano /etc/lilo.conf
bash-4.2# cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
lba32
# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used. We don't specify it here, as there's just one column.
bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
bmp-timer = 65,27,0,255
# Standard menu.
# Or, you can comment out the bitmap menu above and
# use a boot message with the standard menu:
#message = /boot/boot_message.txt
# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda6
label = Linux
read-only
[b]# Linux Gentoo
image = /boot/vmlinuz
root = /dev/sda7
label = Linux
read-only[/b]
# Linux bootable partition config ends
bash-4.2#
Codice: Seleziona tutto
# <fs> <mountpoint> <type> <opts> <dump/p$
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
Premetto anche che slackware utilizza sda6 come root e sda5 come home, e il lilo sta in mbr
mi postate cortesemente un fstab modificato alla mia situazione specifica? premetto che ho messo Gentoo sotto sda7, mentre la root di slackware mi sta sotto sda6, sda5 la home di slackware e il lilo di slackware è nell'Mbr
Adattandolo ad esempio in questo modo sarebbe corretto?
/dev/sda7 / ext4 rw,relatime,data=ordered0 1
oppure devo inserire qualcosa come questo esempio:
root = /dev/disk/by-uuid/c79e3c4a-9671-4e57-b8ba-b2bf368e2c1e # Posizione del filesystem root
ribadisco che sda7 è la root di gentoo e in fase di installazione non ho assegnato ne swap ne home